summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-06-03 22:59:41 +0000
committerJordan Rose <jordan_rose@apple.com>2013-06-03 22:59:41 +0000
commit2794bc0e3757992194dd587d0f6a253ec72afc9a (patch)
tree0207c86c013afeb310054f5cfabe8502c9b2af21 /lib/CodeGen/CodeGenModule.h
parent8fcb0452235eeecfae8cabd7381e146327a8472e (diff)
downloadclang-2794bc0e3757992194dd587d0f6a253ec72afc9a.tar.gz
clang-2794bc0e3757992194dd587d0f6a253ec72afc9a.tar.bz2
clang-2794bc0e3757992194dd587d0f6a253ec72afc9a.tar.xz
CFG: In a DeclStmt, skip anything that's not a VarDecl.
Neither the compiler nor the analyzer are doing anything with non-VarDecl decls in the CFG, and having them there creates extra nodes in the analyzer's path diagnostics. Simplify the CFG (and the path edges) by simply leaving them out. We can always add interesting decls back in when they become relevant. Note that this only affects decls declared in a DeclStmt, and then only those that appear within a function body. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183157 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions