]> granicus.if.org Git - clang/commit
PR18217: Rewrite JumpDiagnostics' handling of temporaries, to correctly handle
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 12 Dec 2013 01:27:02 +0000 (01:27 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 12 Dec 2013 01:27:02 +0000 (01:27 +0000)
commit22ab81e8ac9402b830e2c123d8f9dddf4b1f2324
tree845a4ea33e2622b7aad5519f3716ef87e14f087c
parent7f86ffd5597fa70bec7fce8636925b4a54ff78c4
PR18217: Rewrite JumpDiagnostics' handling of temporaries, to correctly handle
declarations that might lifetime-extend multiple temporaries. In passing, fix a
crasher (PR18217) if an initializer was dependent and exactly the wrong shape,
and remove a bogus function (Expr::findMaterializedTemporary) now its last use
is gone.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197103 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h
include/clang/Basic/DiagnosticSemaKinds.td
lib/AST/Expr.cpp
lib/Sema/JumpDiagnostics.cpp
test/SemaCXX/scope-check.cpp