]> granicus.if.org Git - clang/commit
libAnalysis: Add a case for TypeAliasDecl in CFGRecStmtDeclVisitor.
authorJordan Rose <jordan_rose@apple.com>
Sat, 16 Feb 2013 01:33:16 +0000 (01:33 +0000)
committerJordan Rose <jordan_rose@apple.com>
Sat, 16 Feb 2013 01:33:16 +0000 (01:33 +0000)
commit12e0c13819f09162aa8ff1036351be4f97839cae
tree6504310335b5dbd2082eed277ef90a0716ffea98
parentcb6bcf1c6392398ce9fccb4a0881dd4149568dcf
libAnalysis: Add a case for TypeAliasDecl in CFGRecStmtDeclVisitor.

Neither of the current clients of CFGRecStmtDeclVisitor are doing
anything with typedefs, so I assume type aliases (C++11 "using")
can be safely ignored. This was causing assertion failures in
the analyzer.

<rdar://problem/13228440>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175335 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h
test/Analysis/dead-stores.cpp