summaryrefslogtreecommitdiffstats
path: root/clang/test/FixIt/fixit-cxx11-attributes.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add fixit hints for misplaced C++11 attributes around class specifiers.Michael Han2013-01-071-0/+34
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
OpenPOWER on IntegriCloud