projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
085a747
)
[NFC][Clang]Remove a reference on argument since 'Name' is not modified'
author
Mingming Liu
<mingmingl@google.com>
Wed, 26 Apr 2023 17:55:43 +0000
(10:55 -0700)
committer
Mingming Liu
<mingmingl@google.com>
Wed, 26 Apr 2023 18:21:34 +0000
(11:21 -0700)
Reviewed By: nickdesaulniers
Differential Revision: https://reviews.llvm.org/D149274
clang/lib/Basic/Targets/X86.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Basic/Targets/X86.cpp
b/clang/lib/Basic/Targets/X86.cpp
index
a997614
..
b88b6b5
100644
(file)
--- a/
clang/lib/Basic/Targets/X86.cpp
+++ b/
clang/lib/Basic/Targets/X86.cpp
@@
-1213,7
+1213,7
@@
bool X86TargetInfo::validateCpuIs(StringRef FeatureStr) const {
.Default(false);
}
-static unsigned matchAsmCCConstraint(const char *
&
Name) {
+static unsigned matchAsmCCConstraint(const char *Name) {
auto RV = llvm::StringSwitch<unsigned>(Name)
.Case("@cca", 4)
.Case("@ccae", 5)