diff options
Diffstat (limited to 'llvm/lib/MC/MCParser/MasmParser.cpp')
| -rw-r--r-- | llvm/lib/MC/MCParser/MasmParser.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/MC/MCParser/MasmParser.cpp b/llvm/lib/MC/MCParser/MasmParser.cpp index 3462954..3a85770 100644 --- a/llvm/lib/MC/MCParser/MasmParser.cpp +++ b/llvm/lib/MC/MCParser/MasmParser.cpp @@ -5323,10 +5323,10 @@ void MasmParser::initializeDirectiveKindMap() {  bool MasmParser::isMacroLikeDirective() {    if (getLexer().is(AsmToken::Identifier)) {      bool IsMacroLike = StringSwitch<bool>(getTok().getIdentifier()) -                           .CasesLower("repeat", "rept", true) +                           .CasesLower({"repeat", "rept"}, true)                             .CaseLower("while", true) -                           .CasesLower("for", "irp", true) -                           .CasesLower("forc", "irpc", true) +                           .CasesLower({"for", "irp"}, true) +                           .CasesLower({"forc", "irpc"}, true)                             .Default(false);      if (IsMacroLike)        return true;  | 
