aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2014-04-29 17:08:17 +0000
committerJordan Rose <jordan_rose@apple.com>2014-04-29 17:08:17 +0000
commit601734885609a8c3bd932049e48c46c6776f47a9 (patch)
tree3ffdfeb986d6c248dd9c9307051f787ab979b94c /clang/lib/Frontend/CompilerInvocation.cpp
parent62ac9ecadc4d8a0637b33173229642cf51d42a0b (diff)
downloadllvm-601734885609a8c3bd932049e48c46c6776f47a9.zip
llvm-601734885609a8c3bd932049e48c46c6776f47a9.tar.gz
llvm-601734885609a8c3bd932049e48c46c6776f47a9.tar.bz2
[analyzer] Improve test from r207486.
The constructor that comes right before a variable declaration in the CFG might not be the initialization of that variable. Previously, we just checked that the variable's initializer expression was different from the construction expression, but forgot to see whether the variable had an initializer expression at all. Thanks for the prompting, David. llvm-svn: 207562
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions