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:
fb27fd5
)
Fix unused variable warning from D134529
author
Erich Keane
<erich.keane@intel.com>
Mon, 10 Oct 2022 18:42:19 +0000
(11:42 -0700)
committer
Erich Keane
<erich.keane@intel.com>
Mon, 10 Oct 2022 18:42:43 +0000
(11:42 -0700)
clang/lib/Sema/SemaOverload.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Sema/SemaOverload.cpp
b/clang/lib/Sema/SemaOverload.cpp
index
b3f98a0
..
c7e66d1
100644
(file)
--- a/
clang/lib/Sema/SemaOverload.cpp
+++ b/
clang/lib/Sema/SemaOverload.cpp
@@
-931,7
+931,7
@@
static bool shouldAddReversedEqEq(Sema &S, SourceLocation OpLoc,
// target.
DeclarationName NotEqOp = S.Context.DeclarationNames.getCXXOperatorName(
OverloadedOperatorKind::OO_ExclaimEqual);
- if (
auto *MD = dyn_cast
<CXXMethodDecl>(EqFD)) {
+ if (
isa
<CXXMethodDecl>(EqFD)) {
// If F is a class member, search scope is class type of first operand.
QualType RHS = FirstOperand->getType();
auto *RHSRec = RHS->getAs<RecordType>();