]> granicus.if.org Git - clang/commit
Added an (optional) explicit "Label" statement to CFGBlock. If a
authorTed Kremenek <kremenek@apple.com>
Wed, 29 Aug 2007 23:20:49 +0000 (23:20 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 29 Aug 2007 23:20:49 +0000 (23:20 +0000)
commit9cffe7366ea3beb33c2d58f43a8c3a04c1873e11
tree3fa585f814bc3276a58f17e2290b55a30b6ffc09
parent34870da70fa42b0391b79627ebd0cfc6eb22213b
Added an (optional) explicit "Label" statement to CFGBlock.  If a
block begins with a label or case statement, CFGBlock::getLabel() will
return the corresponding LabelStmt/CaseStmt/DefaultStmt.

LabelStmts and SwitchCases no longer appear within the "executable"
statements of a CFGBlock.

More cleanups on visualization/pretty-printing of CFGs (less verbose).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41585 91177308-0d34-0410-b5e6-96231b3b80d8
AST/CFG.cpp
include/clang/AST/CFG.h