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:
4a27c79
)
Silence unused variable warning. NFC.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Mon, 1 May 2017 20:00:23 +0000
(20:00 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Mon, 1 May 2017 20:00:23 +0000
(20:00 +0000)
llvm-svn: 301825
clang/lib/AST/ExprConstant.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/AST/ExprConstant.cpp
b/clang/lib/AST/ExprConstant.cpp
index
9ad14ab
..
5e6a629
100644
(file)
--- a/
clang/lib/AST/ExprConstant.cpp
+++ b/
clang/lib/AST/ExprConstant.cpp
@@
-3042,7
+3042,7
@@
static CompleteObject findCompleteObject(EvalInfo &Info, const Expr *E,
if (Info.Ctx.getAsIncompleteArrayType(BaseType)) {
QualType MostRecentType =
cast<ValueDecl const>(D->getMostRecentDecl())->getType();
- if (
auto CAT =
Info.Ctx.getAsConstantArrayType(MostRecentType))
+ if (Info.Ctx.getAsConstantArrayType(MostRecentType))
BaseType = MostRecentType;
}
} else {