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:
c673d67
)
Fix unused-variable warning, NFC.
author
Haojian Wu
<hokein.wu@gmail.com>
Wed, 25 May 2022 13:25:03 +0000
(15:25 +0200)
committer
Haojian Wu
<hokein.wu@gmail.com>
Wed, 25 May 2022 13:25:03 +0000
(15:25 +0200)
clang/tools/libclang/CIndex.cpp
patch
|
blob
|
history
diff --git
a/clang/tools/libclang/CIndex.cpp
b/clang/tools/libclang/CIndex.cpp
index
cf31524
..
7bc9453
100644
(file)
--- a/
clang/tools/libclang/CIndex.cpp
+++ b/
clang/tools/libclang/CIndex.cpp
@@
-1511,8
+1511,7
@@
bool CursorVisitor::VisitTemplateParameters(
}
if (const auto *E = Params->getRequiresClause()) {
- if (Visit(MakeCXCursor(Params->getRequiresClause(), nullptr, TU,
- RegionOfInterest)))
+ if (Visit(MakeCXCursor(E, nullptr, TU, RegionOfInterest)))
return true;
}