[llvm] 4a98cf7 - [NFC] Reformat MILexer.cpp:getIdentifierKind
Scott Linder via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 9 08:22:29 PDT 2020
Author: Scott Linder
Date: 2020-10-09T15:21:24Z
New Revision: 4a98cf7867fac7b5d3de7b1ae3285b1d9e6ea3ce
URL: https://github.com/llvm/llvm-project/commit/4a98cf7867fac7b5d3de7b1ae3285b1d9e6ea3ce
DIFF: https://github.com/llvm/llvm-project/commit/4a98cf7867fac7b5d3de7b1ae3285b1d9e6ea3ce.diff
LOG: [NFC] Reformat MILexer.cpp:getIdentifierKind
Reformat to avoid unrelated changes in diff of future patch.
Committed as obvious.
Added:
Modified:
llvm/lib/CodeGen/MIRParser/MILexer.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/MIRParser/MILexer.cpp b/llvm/lib/CodeGen/MIRParser/MILexer.cpp
index 98af46dc4872..2ee3ee0f00f6 100644
--- a/llvm/lib/CodeGen/MIRParser/MILexer.cpp
+++ b/llvm/lib/CodeGen/MIRParser/MILexer.cpp
@@ -212,9 +212,9 @@ static MIToken::TokenKind getIdentifierKind(StringRef Identifier) {
.Case("contract", MIToken::kw_contract)
.Case("afn", MIToken::kw_afn)
.Case("reassoc", MIToken::kw_reassoc)
- .Case("nuw" , MIToken::kw_nuw)
- .Case("nsw" , MIToken::kw_nsw)
- .Case("exact" , MIToken::kw_exact)
+ .Case("nuw", MIToken::kw_nuw)
+ .Case("nsw", MIToken::kw_nsw)
+ .Case("exact", MIToken::kw_exact)
.Case("nofpexcept", MIToken::kw_nofpexcept)
.Case("debug-location", MIToken::kw_debug_location)
.Case("same_value", MIToken::kw_cfi_same_value)
@@ -231,7 +231,8 @@ static MIToken::TokenKind getIdentifierKind(StringRef Identifier) {
.Case("undefined", MIToken::kw_cfi_undefined)
.Case("register", MIToken::kw_cfi_register)
.Case("window_save", MIToken::kw_cfi_window_save)
- .Case("negate_ra_sign_state", MIToken::kw_cfi_aarch64_negate_ra_sign_state)
+ .Case("negate_ra_sign_state",
+ MIToken::kw_cfi_aarch64_negate_ra_sign_state)
.Case("blockaddress", MIToken::kw_blockaddress)
.Case("intrinsic", MIToken::kw_intrinsic)
.Case("target-index", MIToken::kw_target_index)
More information about the llvm-commits
mailing list