Home
last modified time | relevance | path

Searched refs:AttrSpelling (Results 1 – 4 of 4) sorted by relevance

/external/clang/utils/TableGen/
DClangAttrEmitter.cpp142 static StringRef NormalizeAttrSpelling(StringRef AttrSpelling) { in NormalizeAttrSpelling() argument
143 if (AttrSpelling.startswith("__") && AttrSpelling.endswith("__")) { in NormalizeAttrSpelling()
144 AttrSpelling = AttrSpelling.substr(2, AttrSpelling.size() - 4); in NormalizeAttrSpelling()
147 return AttrSpelling; in NormalizeAttrSpelling()
/external/llvm-project/clang/utils/TableGen/
DClangAttrEmitter.cpp156 static StringRef NormalizeGNUAttrSpelling(StringRef AttrSpelling) { in NormalizeGNUAttrSpelling() argument
157 if (AttrSpelling.startswith("__") && AttrSpelling.endswith("__")) { in NormalizeGNUAttrSpelling()
158 AttrSpelling = AttrSpelling.substr(2, AttrSpelling.size() - 4); in NormalizeGNUAttrSpelling()
161 return AttrSpelling; in NormalizeGNUAttrSpelling()
/external/clang/lib/Sema/
DSemaCast.cpp1810 StringRef AttrSpelling = PP.getLastMacroWithSpelling(NameLoc, AttrTokens); in DiagnoseCallingConvCast() local
1811 if (!AttrSpelling.empty()) in DiagnoseCallingConvCast()
1812 CCAttrText = AttrSpelling; in DiagnoseCallingConvCast()
/external/llvm-project/clang/lib/Sema/
DSemaCast.cpp2028 StringRef AttrSpelling = PP.getLastMacroWithSpelling(NameLoc, AttrTokens); in DiagnoseCallingConvCast() local
2029 if (!AttrSpelling.empty()) in DiagnoseCallingConvCast()
2030 CCAttrText = AttrSpelling; in DiagnoseCallingConvCast()