]> granicus.if.org Git - clang/commit
If parsing a trailing-return-type fails, don't pretend we didn't have one at
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 12 Jun 2012 01:51:59 +0000 (01:51 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 12 Jun 2012 01:51:59 +0000 (01:51 +0000)
commit54655be65585ed6618fdd7a19fa6c70efc321d3a
tree6ebcc7a899ed54cc8e0d069ac9186092a92f73b9
parentc7d2e339f9a71a40db7b199082b42fe91e6fa2cb
If parsing a trailing-return-type fails, don't pretend we didn't have one at
all. Suppresses follow-on errors mentioned in PR13074.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158348 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/DeclSpec.h
lib/Parse/ParseDecl.cpp
lib/Parse/ParseExprCXX.cpp
lib/Sema/DeclSpec.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaType.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p5.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.fct/p9-0x.cpp
test/Parser/cxx11-type-specifier.cpp