]> granicus.if.org Git - clang/commit
When building SwitchStmts in Sema, record whether all the enum values of a switch...
authorTed Kremenek <kremenek@apple.com>
Thu, 9 Sep 2010 00:05:53 +0000 (00:05 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 9 Sep 2010 00:05:53 +0000 (00:05 +0000)
commit559fb554602bedb57dbbf3cc14ac8a38264b4547
treeb104938f48e69198ff5051b9ff456497ddd395f8
parent1efb6c716397f2c4e3ede3a4853c5efebb375441
When building SwitchStmts in Sema, record whether all the enum values of a switch(enum) where
covered by individual case statements.  Flow-based analyses may wish to consult this information,
and recording this in the AST allows us to obviate reconstructing this information later when
we build the CFG.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113447 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Stmt.h
lib/Sema/SemaStmt.cpp
lib/Serialization/ASTReaderStmt.cpp
lib/Serialization/ASTWriterStmt.cpp