summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2014-09-26 23:48:30 +0000
committerRichard Trieu <rtrieu@google.com>2014-09-26 23:48:30 +0000
commit779c6f25731b7d07ccb1641cf3263436289f8ca2 (patch)
tree7d330b37cedbf384303d9f6cc70eb0d099162ca0 /clang/lib/Sema/SemaDecl.cpp
parente9c9e7070e5f58ed071bd08887ce744d42303478 (diff)
downloadbcm5719-llvm-779c6f25731b7d07ccb1641cf3263436289f8ca2.tar.gz
bcm5719-llvm-779c6f25731b7d07ccb1641cf3263436289f8ca2.zip
Add back checking for condition of conditional operator for -Wuninitialized
llvm-svn: 218556
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r--clang/lib/Sema/SemaDecl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index abbf4b2bb24..9203df3fe5b 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/lib/Sema/SemaDecl.cpp
@@ -8348,6 +8348,7 @@ namespace {
}
if (ConditionalOperator *CO = dyn_cast<ConditionalOperator>(E)) {
+ Visit(CO->getCond());
HandleValue(CO->getTrueExpr());
HandleValue(CO->getFalseExpr());
return;
OpenPOWER on IntegriCloud