Home
last modified time | relevance | path

Searched refs:getImmediateMacroName (Results 1 – 25 of 28) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DStaticAssertCheck.cpp91 Lexer::getImmediateMacroName(AssertExpansionLoc, SM, Opts); in check()
106 Lexer::getImmediateMacroName(FalseLiteralLoc, SM, Opts); in check()
DRedundantExpressionCheck.cpp480 StringRef MacroName = Lexer::getImmediateMacroName(Loc, SM, LO); in AST_MATCHER_P()
/external/clang/unittests/Lex/
DLexerTest.cpp360 EXPECT_EQ("INN", Lexer::getImmediateMacroName(idLoc1, SourceMgr, LangOpts)); in TEST_F()
361 EXPECT_EQ("INN", Lexer::getImmediateMacroName(idLoc2, SourceMgr, LangOpts)); in TEST_F()
362 EXPECT_EQ("NOF2", Lexer::getImmediateMacroName(idLoc3, SourceMgr, LangOpts)); in TEST_F()
363 EXPECT_EQ("N", Lexer::getImmediateMacroName(idLoc4, SourceMgr, LangOpts)); in TEST_F()
/external/llvm-project/clang/lib/AST/
DDataCollection.cpp20 MacroStack << Lexer::getImmediateMacroName(Loc, Context.getSourceManager(), in printMacroName()
/external/llvm-project/clang/unittests/Lex/
DLexerTest.cpp354 EXPECT_EQ("INN", Lexer::getImmediateMacroName(idLoc1, SourceMgr, LangOpts)); in TEST_F()
355 EXPECT_EQ("INN", Lexer::getImmediateMacroName(idLoc2, SourceMgr, LangOpts)); in TEST_F()
356 EXPECT_EQ("NOF2", Lexer::getImmediateMacroName(idLoc3, SourceMgr, LangOpts)); in TEST_F()
357 EXPECT_EQ("N", Lexer::getImmediateMacroName(idLoc4, SourceMgr, LangOpts)); in TEST_F()
/external/clang/lib/StaticAnalyzer/Core/
DCheckerContext.cpp96 return Lexer::getImmediateMacroName(Loc, getSourceManager(), in getMacroNameOrSpelling()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseNullptrCheck.cpp89 return Lexer::getImmediateMacroName(OutermostMacroLoc, SM, LO); in getOutermostMacroName()
329 Lexer::getImmediateMacroName(OldArgLoc, SM, Context.getLangOpts()); in getMacroAndArgLocations()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DAssertSideEffectCheck.cpp109 StringRef MacroName = Lexer::getImmediateMacroName(Loc, SM, LangOpts); in check()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DCheckerContext.cpp94 return Lexer::getImmediateMacroName(Loc, getSourceManager(), in getMacroNameOrSpelling()
DBugReporterVisitors.cpp241 return Lexer::getImmediateMacroName( in getMacroName()
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DPreferMemberInitializerCheck.cpp127 Lexer::getImmediateMacroName(S->getBeginLoc(), *Result.SourceManager, in check()
/external/llvm-project/clang/lib/Analysis/
DReachableCode.cpp164 StringRef MacroName = PP.getImmediateMacroName(TopL); in isExpandedFromConfigurationMacro()
170 StringRef MacroName = PP.getImmediateMacroName(TopL); in isExpandedFromConfigurationMacro()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DNumberObjectConversionChecker.cpp81 StringRef MacroName = Lexer::getImmediateMacroName( in run()
/external/clang/include/clang/Lex/
DLexer.h409 static StringRef getImmediateMacroName(SourceLocation Loc,
DPreprocessor.h1435 StringRef getImmediateMacroName(SourceLocation Loc) { in getImmediateMacroName() function
1436 return Lexer::getImmediateMacroName(Loc, SourceMgr, getLangOpts()); in getImmediateMacroName()
/external/llvm-project/clang/include/clang/Lex/
DLexer.h477 static StringRef getImmediateMacroName(SourceLocation Loc,
DPreprocessor.h1792 StringRef getImmediateMacroName(SourceLocation Loc) { in getImmediateMacroName() function
1793 return Lexer::getImmediateMacroName(Loc, SourceMgr, getLangOpts()); in getImmediateMacroName()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DImplicitBoolConversionCheck.cpp35 Lexer::getImmediateMacroName(Loc, SM, LO) == "NULL"; in isNULLMacroExpansion()
/external/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp327 StringRef MacroName = Lexer::getImmediateMacroName(Loc, SM, in checkForGCDOrXPC()
DTransUnbridgedCasts.cpp341 StringRef MacroName = Lexer::getImmediateMacroName(CastLoc, in transformObjCToNonObjCCast()
/external/llvm-project/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp331 StringRef MacroName = Lexer::getImmediateMacroName(Loc, SM, in checkForGCDOrXPC()
DTransUnbridgedCasts.cpp338 StringRef MacroName = Lexer::getImmediateMacroName(CastLoc, in transformObjCToNonObjCCast()
/external/clang/lib/Analysis/
DReachableCode.cpp141 StringRef MacroName = PP.getImmediateMacroName(TopL); in isExpandedFromConfigurationMacro()
/external/clang/lib/Lex/
DLexer.cpp958 StringRef Lexer::getImmediateMacroName(SourceLocation Loc, in getImmediateMacroName() function in Lexer
/external/llvm-project/clang/lib/Lex/
DLexer.cpp978 StringRef Lexer::getImmediateMacroName(SourceLocation Loc, in getImmediateMacroName() function in Lexer

12