diff options
Diffstat (limited to 'llvm/lib/Support/AArch64BuildAttributes.cpp')
| -rw-r--r-- | llvm/lib/Support/AArch64BuildAttributes.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/AArch64BuildAttributes.cpp b/llvm/lib/Support/AArch64BuildAttributes.cpp index 4a6b2fd..be4d1f1 100644 --- a/llvm/lib/Support/AArch64BuildAttributes.cpp +++ b/llvm/lib/Support/AArch64BuildAttributes.cpp @@ -67,8 +67,8 @@ StringRef AArch64BuildAttributes::getTypeStr(unsigned Type) {  }  SubsectionType AArch64BuildAttributes::getTypeID(StringRef Type) {    return StringSwitch<SubsectionType>(Type) -      .Cases("uleb128", "ULEB128", ULEB128) -      .Cases("ntbs", "NTBS", NTBS) +      .Cases({"uleb128", "ULEB128"}, ULEB128) +      .Cases({"ntbs", "NTBS"}, NTBS)        .Default(TYPE_NOT_FOUND);  }  StringRef AArch64BuildAttributes::getSubsectionTypeUnknownError() {  | 
