summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/include/llvm/TableGen/SetTheory.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/include/llvm/TableGen/SetTheory.h')
-rw-r--r--contrib/llvm/include/llvm/TableGen/SetTheory.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/llvm/include/llvm/TableGen/SetTheory.h b/contrib/llvm/include/llvm/TableGen/SetTheory.h
index 818b054..4b32f9e 100644
--- a/contrib/llvm/include/llvm/TableGen/SetTheory.h
+++ b/contrib/llvm/include/llvm/TableGen/SetTheory.h
@@ -64,8 +64,8 @@ class Record;
class SetTheory {
public:
- typedef std::vector<Record*> RecVec;
- typedef SmallSetVector<Record*, 16> RecSet;
+ using RecVec = std::vector<Record *>;
+ using RecSet = SmallSetVector<Record *, 16>;
/// Operator - A callback representing a DAG operator.
class Operator {
@@ -95,7 +95,7 @@ public:
private:
// Map set defs to their fully expanded contents. This serves as a memoization
// cache and it makes it possible to return const references on queries.
- typedef std::map<Record*, RecVec> ExpandMap;
+ using ExpandMap = std::map<Record *, RecVec>;
ExpandMap Expansions;
// Known DAG operators by name.
OpenPOWER on IntegriCloud