aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/InterferenceCache.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein.wu@gmail.com>2020-04-08 15:08:48 +0200
committerHaojian Wu <hokein.wu@gmail.com>2020-04-08 15:15:33 +0200
commit625acd8f6847a156b236b8f11b4b02b11cac3766 (patch)
treedbcd205209b8d11a94b4d9659b7e1cf3f5cad337 /llvm/lib/CodeGen/InterferenceCache.cpp
parent6c4b40def77622a5cf62a219ef4af63dc876e144 (diff)
downloadllvm-625acd8f6847a156b236b8f11b4b02b11cac3766.zip
llvm-625acd8f6847a156b236b8f11b4b02b11cac3766.tar.gz
llvm-625acd8f6847a156b236b8f11b4b02b11cac3766.tar.bz2
[Parser] Improve diagnostic and error recovery when C++ keywords are used as identifiers.
Summary: Previously, clang emitted a less-usefull diagnostic and didnt recover well when the keywords is used as identifier in function paramter. ``` void foo(int case, int x); // previously we drop all parameters after `int case`. ``` Reviewers: sammccall Reviewed By: sammccall Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D77633
Diffstat (limited to 'llvm/lib/CodeGen/InterferenceCache.cpp')
0 files changed, 0 insertions, 0 deletions