aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestJava.cpp
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2017-04-11 15:01:53 +0000
committerAlex Lorenz <arphaman@gmail.com>2017-04-11 15:01:53 +0000
commitf127821140b107f35aad84b4b214d12bfa19ba8b (patch)
tree7b15d5c81ea6f83fc60d3db07eb6f0797493c46e /clang/unittests/Format/FormatTestJava.cpp
parent59a2d7b9093617aff6b6f147ba267bc788aa08b7 (diff)
downloadllvm-f127821140b107f35aad84b4b214d12bfa19ba8b.zip
llvm-f127821140b107f35aad84b4b214d12bfa19ba8b.tar.gz
llvm-f127821140b107f35aad84b4b214d12bfa19ba8b.tar.bz2
[Parser][ObjC++] Improve diagnostics and recovery when C++ keywords are used
as identifiers in Objective-C++ This commit improves the 'expected identifier' errors that are presented when a C++ keyword is used as an identifier in Objective-C++ by mentioning that this is a C++ keyword in the diagnostic message. It also improves the error recovery: the parser will now treat the C++ keywords as identifiers to prevent unrelated parsing errors. rdar://20626062 Differential Revision: https://reviews.llvm.org/D26503 llvm-svn: 299950
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions