]> granicus.if.org Git - clang/commit
Added LabelLoc to GotoStmt to record the source location of the label token
authorTed Kremenek <kremenek@apple.com>
Thu, 6 Sep 2007 17:11:52 +0000 (17:11 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 6 Sep 2007 17:11:52 +0000 (17:11 +0000)
commit61f62165220e75694fe333179c78815e2e48d71f
tree651aaec6ba38205048dcb89b8396697ad333a6c7
parent7cba96060c5ad84a812eeb263a1d4a7bd569cde1
Added LabelLoc to GotoStmt to record the source location of the label token
in the actual GotoStmt.

Fixed bug where GotoStmt::getSourceRange incorrectly used the target LabelStmt
to compute its extent.

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