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 | 07fc1ba7553f2f5bf26984091197311decd9028e (patch) | |
tree | f68851c0a290f161d2c0c9054da9763dbb9dc703 /lib/Format/UnwrappedLineParser.cpp | |
parent | 589dae7d52043af6085967fae0c31d32365de229 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171757 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/UnwrappedLineParser.cpp')
0 files changed, 0 insertions, 0 deletions