From 554bcb69c2d785a011a30e7db87a36a87fe7db10 Mon Sep 17 00:00:00 2001
From: dim
This formatter indicates that the fully-qualified name of the declaration should be printed, e.g., "std::vector" rather than "vector".
This formatter takes two QualTypes and attempts to print a template difference between the two. If tree printing is off, the text inside the braces before the pipe is printed, with the formatted text replacing the $. If tree printing is on, the text after the pipe is printed and a type tree is printed after the diagnostic message. +
Fix-it hints on errors and warnings need to obey these rules:
+ +-Xclang -fixit
+is passed to the driver, they should only be used when it's very likely they
+match the user's intent.If a fix-it can't obey these rules, put the fix-it on a note. Fix-its on +notes are not applied automatically.
+All fix-it hints are described by the FixItHint
class,
instances of which should be attached to the diagnostic using the
<< operator in the same way that highlighted source ranges and
@@ -1686,7 +1704,7 @@ interacts with constant evaluation:
Add an element to the AttributeList::Kind enum in include/clang/Sema/AttributeList.h -named AT_lower_with_underscores. That is, a CamelCased -AttributeName in Attr.td name should become -AT_attribute_name.
- -Add a case to the StringSwitch in AttributeList::getKind() -in lib/Sema/AttributeList.cpp -for each spelling of your attribute. Less common attributes should come toward -the end of that list.
-Write a new HandleYourAttr() function in lib/Sema/SemaDeclAttr.cpp, and add a case to the switch in ProcessNonInheritableDeclAttr() or -- cgit v1.1