]> granicus.if.org Git - clang/commit
DebugInfo: While loop backedge should be attribute to the start of the while statement.
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 15 Aug 2014 21:11:25 +0000 (21:11 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 15 Aug 2014 21:11:25 +0000 (21:11 +0000)
commitfcd34fde73d7f6cb6502949782db41ae6577e349
tree0db1ba629130fdb687e49ab9fca19411bbfeeb73
parenta38374b77d9b6424412bb4160cdd11baf2d0596e
DebugInfo: While loop backedge should be attribute to the start of the while statement.

A little test case simplification - this could be simplified further,
though there are certainly interesting connections to the if/else
construct so I'm hesitant to remove that entirely though it does appear
somewhat unrelated.

(similar fix to r215766, related to PR19864)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215768 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGStmt.cpp
test/CodeGenCXX/debug-info-line-if.cpp