Skip to content

Commit 739f557

Browse files
[NFC][Clang]Remove a reference on argument since 'Name' is not modified'
Reviewed By: nickdesaulniers Differential Revision: https://reviews.llvm.org/D149274
1 parent 085a747 commit 739f557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Basic/Targets/X86.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1213,7 +1213,7 @@ bool X86TargetInfo::validateCpuIs(StringRef FeatureStr) const {
12131213
.Default(false);
12141214
}
12151215

1216-
static unsigned matchAsmCCConstraint(const char *&Name) {
1216+
static unsigned matchAsmCCConstraint(const char *Name) {
12171217
auto RV = llvm::StringSwitch<unsigned>(Name)
12181218
.Case("@cca", 4)
12191219
.Case("@ccae", 5)

0 commit comments

Comments
 (0)