diff options
author | Michael Han <Michael.Han@autodesk.com> | 2012-11-26 22:54:45 +0000 |
---|---|---|
committer | Michael Han <Michael.Han@autodesk.com> | 2012-11-26 22:54:45 +0000 |
commit | 9407e50b041301bbd7ba458bc910db94b94d5da3 (patch) | |
tree | 21113ab926f92a1ee4eabec5e214c84351708a7d /llvm/lib/Target/X86/X86.h | |
parent | 9fb21e57e557e1f3166cd3ab1b9ff05c09165b71 (diff) | |
download | bcm5719-llvm-9407e50b041301bbd7ba458bc910db94b94d5da3.tar.gz bcm5719-llvm-9407e50b041301bbd7ba458bc910db94b94d5da3.zip |
Improve diagnostic on C++11 attribute specifiers that appear at wrong syntactic locations around class specifiers.
This change list implemented logic that explicitly detects several combinations of locations where C++11 attribute
specifiers might be incorrectly placed within a class specifier. Previously we emit generic diagnostics like
"expected identifier" for such cases; now we emit specific diagnostic against the misplaced attributes, this also
fixed a bug in old code where attributes appear at legitimate locations were incorrectly rejected.
Thanks to Richard Smith for reviewing!
llvm-svn: 168626
Diffstat (limited to 'llvm/lib/Target/X86/X86.h')
0 files changed, 0 insertions, 0 deletions