]> granicus.if.org Git - clang/commit
Move detection of reference members binding to temporaries from building of
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 12 Jun 2013 21:51:50 +0000 (21:51 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 12 Jun 2013 21:51:50 +0000 (21:51 +0000)
commita4bb99cd0055ba0e1f3107890e5b6cbe31e6d1cc
treef837a1e97cec147e96790096f44488cc321c7bd1
parent671538e8a51eab5bd65a1f9f327ba7f44f84e486
Move detection of reference members binding to temporaries from building of
CXXCtorInitializers to the point where we perform the questionable lifetime
extension. This exposed a selection of false negatives in the warning.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183869 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaInit.cpp
test/CXX/special/class.copy/p11.0x.copy.cpp
test/CXX/special/class.copy/p11.0x.move.cpp
test/CXX/special/class.ctor/p5-0x.cpp
test/CXX/temp/temp.param/p5.cpp
test/SemaCXX/warn-dangling-field.cpp