]> granicus.if.org Git - clang/commit
Debug info: An if condition now creates a lexical scope of its own.
authorAdrian Prantl <aprantl@apple.com>
Sat, 8 Jun 2013 00:16:55 +0000 (00:16 +0000)
committerAdrian Prantl <aprantl@apple.com>
Sat, 8 Jun 2013 00:16:55 +0000 (00:16 +0000)
commit8d378585f66c0562a818f60d3b003a6f55054dbe
tree4fce2435e189ee8e3ac7d674e42e9ad66515812c
parentb6e3808bfe385da8d90bb431e41e30d721d5433f
Debug info: An if condition now creates a lexical scope of its own.
Two variables with the same name declared in two if conditions in the same
scope are no longer coalesced into one.

rdar://problem/14024005

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183597 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGStmt.cpp
test/CodeGenCXX/debug-info-namespace.cpp
test/CodeGenCXX/debug-info-scope.cpp [new file with mode: 0644]