[PATCH] Improve error recovery around colon.
Serge Pavlov
sepavloff at gmail.com
Mon Feb 24 09:15:24 PST 2014
sepavloff added you to the CC list for the revision "Improve error recovery around colon.".
Hi rsmith,
Parse of nested name specifier is modified so that it properly recovers
if colon is mistyped as double colon in case statement.
This patch fixes PR15133.
http://llvm-reviews.chandlerc.com/D2870
Files:
include/clang/Parse/Parser.h
include/clang/Sema/Sema.h
lib/Parse/ParseExprCXX.cpp
lib/Parse/ParseStmt.cpp
lib/Parse/RAIIObjectsForParser.h
lib/Sema/SemaCXXScopeSpec.cpp
test/Parser/recovery.cpp
test/SemaCXX/nested-name-spec.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2870.1.patch
Type: text/x-patch
Size: 9916 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140224/d4114396/attachment.bin>
More information about the cfe-commits
mailing list