Searched refs:AttrSpelling (Results 1 – 4 of 4) sorted by relevance
142 static StringRef NormalizeAttrSpelling(StringRef AttrSpelling) { in NormalizeAttrSpelling() argument143 if (AttrSpelling.startswith("__") && AttrSpelling.endswith("__")) { in NormalizeAttrSpelling()144 AttrSpelling = AttrSpelling.substr(2, AttrSpelling.size() - 4); in NormalizeAttrSpelling()147 return AttrSpelling; in NormalizeAttrSpelling()
156 static StringRef NormalizeGNUAttrSpelling(StringRef AttrSpelling) { in NormalizeGNUAttrSpelling() argument157 if (AttrSpelling.startswith("__") && AttrSpelling.endswith("__")) { in NormalizeGNUAttrSpelling()158 AttrSpelling = AttrSpelling.substr(2, AttrSpelling.size() - 4); in NormalizeGNUAttrSpelling()161 return AttrSpelling; in NormalizeGNUAttrSpelling()
1810 StringRef AttrSpelling = PP.getLastMacroWithSpelling(NameLoc, AttrTokens); in DiagnoseCallingConvCast() local1811 if (!AttrSpelling.empty()) in DiagnoseCallingConvCast()1812 CCAttrText = AttrSpelling; in DiagnoseCallingConvCast()
2028 StringRef AttrSpelling = PP.getLastMacroWithSpelling(NameLoc, AttrTokens); in DiagnoseCallingConvCast() local2029 if (!AttrSpelling.empty()) in DiagnoseCallingConvCast()2030 CCAttrText = AttrSpelling; in DiagnoseCallingConvCast()