diff options
author | Michael Han <fragmentshaders@gmail.com> | 2013-01-07 16:57:11 +0000 |
---|---|---|
committer | Michael Han <fragmentshaders@gmail.com> | 2013-01-07 16:57:11 +0000 |
commit | 309af291ef228f33be38fb7660d471e273945155 (patch) | |
tree | a30009295c011f548022605824b4dd79c9caa69a /llvm/lib/Support/SourceMgr.cpp | |
parent | e68cf2722501e2a49ac039e36db93edf27b6cb40 (diff) | |
download | llvm-309af291ef228f33be38fb7660d471e273945155.zip llvm-309af291ef228f33be38fb7660d471e273945155.tar.gz llvm-309af291ef228f33be38fb7660d471e273945155.tar.bz2 |
Add fixit hints for misplaced C++11 attributes around class specifiers.
Following r168626, in class declaration or definition, there are a combination of syntactic locations
where C++11 attributes could appear, and among those the only valid location permitted by standard is
between class-key and class-name. So for those attributes appear at wrong locations, fixit is used to
move them to expected location and we recover by applying them to the class specifier.
llvm-svn: 171757
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions