Lines Matching refs:MacroName
1264 StringRef MacroName; in getFallthroughAttrSpelling() local
1266 MacroName = PP.getLastMacroWithSpelling(Loc, ClangFallthroughTokens); in getFallthroughAttrSpelling()
1267 if (MacroName.empty()) in getFallthroughAttrSpelling()
1268 MacroName = PP.getLastMacroWithSpelling(Loc, FallthroughTokens); in getFallthroughAttrSpelling()
1269 if (MacroName.empty() && !PreferClangAttr) in getFallthroughAttrSpelling()
1270 MacroName = PP.getLastMacroWithSpelling(Loc, ClangFallthroughTokens); in getFallthroughAttrSpelling()
1271 if (MacroName.empty()) { in getFallthroughAttrSpelling()
1273 MacroName = "[[fallthrough]]"; in getFallthroughAttrSpelling()
1275 MacroName = "[[clang::fallthrough]]"; in getFallthroughAttrSpelling()
1277 MacroName = "__attribute__((fallthrough))"; in getFallthroughAttrSpelling()
1279 return MacroName; in getFallthroughAttrSpelling()
2389 StringRef MacroName; in getUnsafeBufferUsageAttributeTextAt() local
2392 MacroName = PP.getLastMacroWithSpelling(Loc, ClangUnsafeBufferUsageTokens); in getUnsafeBufferUsageAttributeTextAt()
2393 if (MacroName.empty()) in getUnsafeBufferUsageAttributeTextAt()
2394 MacroName = "[[clang::unsafe_buffer_usage]]"; in getUnsafeBufferUsageAttributeTextAt()
2395 return MacroName.str() + WSSuffix.str(); in getUnsafeBufferUsageAttributeTextAt()