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:
77793ee
)
Fix unused-variable warning in release build, NFC
author
Haojian Wu
<hokein.wu@gmail.com>
Mon, 31 Oct 2022 07:53:04 +0000
(08:53 +0100)
committer
Haojian Wu
<hokein.wu@gmail.com>
Mon, 31 Oct 2022 07:53:30 +0000
(08:53 +0100)
clang/lib/Sema/SemaConcept.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Sema/SemaConcept.cpp
b/clang/lib/Sema/SemaConcept.cpp
index
54d8a74
..
63c58d6
100644
(file)
--- a/
clang/lib/Sema/SemaConcept.cpp
+++ b/
clang/lib/Sema/SemaConcept.cpp
@@
-1307,6
+1307,8
@@
bool Sema::IsAtLeastAsConstrained(NamedDecl *D1,
Kind == FunctionDecl::TK_FunctionTemplate;
};
const auto *FD2 = dyn_cast<FunctionDecl>(D2);
+ (void)IsExpectedEntity;
+ (void)FD2;
assert(IsExpectedEntity(FD1) && FD2 && IsExpectedEntity(FD2) &&
"use non-instantiated function declaration for constraints partial "
"ordering");