]> granicus.if.org Git - clang/commit
Clean up my changes to jump-diagnostic handling for local variables of
authorDouglas Gregor <dgregor@apple.com>
Fri, 27 May 2011 21:28:00 +0000 (21:28 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 27 May 2011 21:28:00 +0000 (21:28 +0000)
commitf61103ef335fb273a98c1389e6fddaf796feb4b3
treef0b407548143a8c0192a104a31992ab1b9e0a734
parent0903421e36c174a82597f83bd296f3cd5b5f169b
Clean up my changes to jump-diagnostic handling for local variables of
class type (or array thereof), eliminating some redundant checks
(thanks Eli!) and adding some tests where the behavior differs in
C++98/03 vs. C++0x.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132218 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/JumpDiagnostics.cpp
lib/Sema/SemaDecl.cpp
test/CXX/stmt.stmt/stmt.dcl/p3-0x.cpp [new file with mode: 0644]
test/CXX/stmt.stmt/stmt.dcl/p3.cpp