Resolve ambiguous C++ statements (C++ 6.8p1).
commit74b477c0d77fecbf658d682d5e7529fd5fd4eb7b
authorArgiris Kirtzidis <akyrtzi@gmail.com>
Sun, 5 Oct 2008 00:06:24 +0000 (5 00:06 +0000)
committerArgiris Kirtzidis <akyrtzi@gmail.com>
Sun, 5 Oct 2008 00:06:24 +0000 (5 00:06 +0000)
treee972deed236a34ebe1e526b4a5430a96a60a1101
parentc13cab3a9c8898caedb62c37752a73e190e54c9a
Resolve ambiguous C++ statements (C++ 6.8p1).
'ParseTentative.cpp' implements the functionality needed to resolve ambiguous C++ statements, to either a declaration or an expression, by "tentatively parsing" them.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57084 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticKinds.def
include/clang/Parse/Parser.h
lib/Parse/ParseStmt.cpp
lib/Parse/ParseTentative.cpp [new file with mode: 0644]
test/SemaCXX/decl-expr-ambiguity.cpp [new file with mode: 0644]