[PATCH] D26503: [Parser][ObjC] Improve diagnostics and recovery when C++ keywords are used as identifiers in Objective-C++
Alex Lorenz via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 16 10:34:57 PST 2016
arphaman updated this revision to Diff 78218.
arphaman marked 4 inline comments as done.
arphaman added a comment.
Addressed review comments by renaming the diagnostic and simplifying the name and the use of the `expectIdentifier ` method.
Repository:
rL LLVM
https://reviews.llvm.org/D26503
Files:
include/clang/Basic/DiagnosticParseKinds.td
include/clang/Basic/IdentifierTable.h
include/clang/Parse/Parser.h
lib/Basic/IdentifierTable.cpp
lib/Parse/ParseDecl.cpp
lib/Parse/ParseObjc.cpp
lib/Parse/Parser.cpp
test/Parser/objc-cxx-keyword-identifiers.mm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26503.78218.patch
Type: text/x-patch
Size: 14002 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161116/c508c478/attachment-0001.bin>
More information about the cfe-commits
mailing list