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:
b14fd26
)
[CFG] Squash an unused variable introduced in r324668.
author
Artem Dergachev
<artem.dergachev@gmail.com>
Fri, 9 Feb 2018 01:43:26 +0000
(
01:43
+0000)
committer
Artem Dergachev
<artem.dergachev@gmail.com>
Fri, 9 Feb 2018 01:43:26 +0000
(
01:43
+0000)
Found by -Werror buildbot.
llvm-svn: 324697
clang/lib/Analysis/CFG.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Analysis/CFG.cpp
b/clang/lib/Analysis/CFG.cpp
index
63f1d72
..
a80220b
100644
(file)
--- a/
clang/lib/Analysis/CFG.cpp
+++ b/
clang/lib/Analysis/CFG.cpp
@@
-1153,7
+1153,7
@@
void CFGBuilder::EnterConstructionContextIfNecessary(Stmt *Trigger,
return;
if (!Child)
return;
- if (
auto *Constructor = dyn_cast
<CXXConstructExpr>(Child)) {
+ if (
isa
<CXXConstructExpr>(Child)) {
assert(CurrentConstructionContext.isNull() &&
"Already within a construction context!");
CurrentConstructionContext = ConstructionContext(Trigger);