diff options
author | Paul Robinson <paul.robinson@sony.com> | 2019-01-08 17:52:29 +0000 |
---|---|---|
committer | Paul Robinson <paul.robinson@sony.com> | 2019-01-08 17:52:29 +0000 |
commit | 7402fd9a35bcfd534dbd339e0ccfcd0fa1642c9d (patch) | |
tree | a88b803e8a0b68d87b8471b453a5c5002dab9022 /llvm/lib/IR | |
parent | 2dfa412efeabb4c249dcb089192b31badb3fc4d5 (diff) | |
download | bcm5719-llvm-7402fd9a35bcfd534dbd339e0ccfcd0fa1642c9d.tar.gz bcm5719-llvm-7402fd9a35bcfd534dbd339e0ccfcd0fa1642c9d.zip |
Rename DIFlagFixedEnum to DIFlagEnumClass. NFC
llvm-svn: 350641
Diffstat (limited to 'llvm/lib/IR')
-rw-r--r-- | llvm/lib/IR/DIBuilder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/IR/DIBuilder.cpp b/llvm/lib/IR/DIBuilder.cpp index d29759f5679..fb81634a286 100644 --- a/llvm/lib/IR/DIBuilder.cpp +++ b/llvm/lib/IR/DIBuilder.cpp @@ -504,11 +504,11 @@ DISubroutineType *DIBuilder::createSubroutineType(DITypeRefArray ParameterTypes, DICompositeType *DIBuilder::createEnumerationType( DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, uint64_t SizeInBits, uint32_t AlignInBits, DINodeArray Elements, - DIType *UnderlyingType, StringRef UniqueIdentifier, bool IsFixed) { + DIType *UnderlyingType, StringRef UniqueIdentifier, bool IsScoped) { auto *CTy = DICompositeType::get( VMContext, dwarf::DW_TAG_enumeration_type, Name, File, LineNumber, getNonCompileUnitScope(Scope), UnderlyingType, SizeInBits, AlignInBits, 0, - IsFixed ? DINode::FlagFixedEnum : DINode::FlagZero, Elements, 0, nullptr, + IsScoped ? DINode::FlagEnumClass : DINode::FlagZero, Elements, 0, nullptr, nullptr, UniqueIdentifier); AllEnumTypes.push_back(CTy); trackIfUnresolved(CTy); |