/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | ASTUtils.cpp | 48 !SM.isMacroArgExpansion(Flags->getBeginLoc())) in exprHasBitFlagWithSpelling() 76 SM->isMacroArgExpansion(Range.getBegin(), in rangeIsEntirelyWithinMacroArgument() 78 SM->isMacroArgExpansion(Range.getEnd(), in rangeIsEntirelyWithinMacroArgument()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | UseNullptrCheck.cpp | 226 if (SM.isMacroArgExpansion(StartLoc) && SM.isMacroArgExpansion(EndLoc)) { in VisitStmt() 324 if (!Expansion.isMacroArgExpansion()) { in getMacroAndArgLocations() 377 if (!Expansion.isMacroArgExpansion()) { in expandsFrom()
|
/external/llvm-project/clang-tools-extra/clang-tidy/performance/ |
D | InefficientAlgorithmCheck.cpp | 131 if (SM.isMacroArgExpansion(CallRange.getBegin()) && in check() 132 SM.isMacroArgExpansion(CallRange.getEnd())) { in check()
|
/external/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 283 if (SM->isMacroArgExpansion(Loc)) { in retrieveMacroLocation() 317 if (SM->isMacroArgExpansion(Loc)) { in getMacroArgExpansionFileIDs() 454 if (SM.isMacroArgExpansion(Loc, &MacroLoc)) { in checkLocForMacroArgExpansion() 499 if (!SM.isMacroArgExpansion(Loc,&ArgumentLoc)) in checkRangesForMacroArgExpansion() 534 if (SM.isMacroArgExpansion(Loc)) in emitMacroExpansions()
|
/external/llvm-project/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 274 if (SM->isMacroArgExpansion(Loc)) { in retrieveMacroLocation() 320 if (SM->isMacroArgExpansion(Loc)) { in getMacroArgExpansionFileIDs() 459 if (SM.isMacroArgExpansion(Loc, &MacroLoc)) { in checkLocForMacroArgExpansion() 504 if (!Loc.isMacroArgExpansion(&ArgumentLoc)) in checkRangesForMacroArgExpansion() 539 if (SM.isMacroArgExpansion(L)) in emitMacroExpansions()
|
/external/llvm-project/clang/lib/Basic/ |
D | SourceLocation.cpp | 178 bool FullSourceLoc::isMacroArgExpansion(FullSourceLoc *StartLoc) const { in isMacroArgExpansion() function in FullSourceLoc 180 return SrcMgr->isMacroArgExpansion(*this, StartLoc); in isMacroArgExpansion()
|
D | SourceManager.cpp | 951 if (isMacroArgExpansion(Loc)) in getFileLocSlowCase() 1024 while (isMacroArgExpansion(Loc)) in getTopMacroCallerLoc() 1049 bool SourceManager::isMacroArgExpansion(SourceLocation Loc, in isMacroArgExpansion() function in SourceManager 1055 if (!Expansion.isMacroArgExpansion()) return false; in isMacroArgExpansion() 1085 if (ExpInfo.isMacroArgExpansion()) { in isAtStartOfImmediateMacroExpansion() 1120 if (ExpInfo.isMacroArgExpansion()) { in isAtEndOfImmediateMacroExpansion() 1759 if (!ExpInfo.isMacroArgExpansion()) in computeMacroArgsCache() 1793 if (Info.isMacroArgExpansion()) { in associateFileChunkWithMacroArgExp() 2130 out << " macro " << (EI.isMacroArgExpansion() ? "arg" : "body") in dump()
|
/external/llvm-project/clang-tools-extra/clang-tidy/android/ |
D | ComparisonInTempFailureRetryCheck.cpp | 64 if (!SM.isMacroArgExpansion(Node.getRHS()->IgnoreParenCasts()->getBeginLoc())) in check()
|
/external/clang/lib/Edit/ |
D | EditedSource.cpp | 29 assert(SourceMgr.isMacroArgExpansion(Loc)); in deconstructMacroArgLoc() 68 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in canInsertInOffset() 103 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in commitInsert()
|
D | Commit.cpp | 228 while (SM.isMacroArgExpansion(loc)) in canInsert() 259 while (SM.isMacroArgExpansion(loc)) in canInsertAfterToken()
|
/external/llvm-project/clang/lib/Edit/ |
D | EditedSource.cpp | 37 assert(SourceMgr.isMacroArgExpansion(Loc)); in deconstructMacroArgLoc() 81 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in canInsertInOffset() 119 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in commitInsert()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | RedundantControlFlowCheck.cpp | 28 return SM.isMacroBodyExpansion(Loc) || SM.isMacroArgExpansion(Loc); in isLocationInMacroExpansion()
|
D | ImplicitBoolConversionCheck.cpp | 27 return SM.isMacroBodyExpansion(Loc) || SM.isMacroArgExpansion(Loc); in AST_MATCHER()
|
/external/clang/unittests/Basic/ |
D | SourceManagerTest.cpp | 239 EXPECT_TRUE(SourceMgr.isMacroArgExpansion(loc2)); in TEST_F() 240 EXPECT_TRUE(SourceMgr.isMacroArgExpansion(loc3)); in TEST_F()
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 917 if (isMacroArgExpansion(Loc)) in getFileLocSlowCase() 1001 bool SourceManager::isMacroArgExpansion(SourceLocation Loc, in isMacroArgExpansion() function in SourceManager 1007 if (!Expansion.isMacroArgExpansion()) return false; in isMacroArgExpansion() 1037 if (ExpInfo.isMacroArgExpansion()) { in isAtStartOfImmediateMacroExpansion() 1072 if (ExpInfo.isMacroArgExpansion()) { in isAtEndOfImmediateMacroExpansion() 1834 if (!ExpInfo.isMacroArgExpansion()) in computeMacroArgsCache() 1868 if (Info.isMacroArgExpansion()) { in associateFileChunkWithMacroArgExp() 2191 out << " macro " << (EI.isMacroArgExpansion() ? "arg" : "body") in dump()
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | TransRetainReleaseDealloc.cpp | 382 if (SM.isMacroArgExpansion(RecRange.getBegin())) in checkForGCDOrXPC() 384 if (SM.isMacroArgExpansion(RecRange.getEnd())) in checkForGCDOrXPC()
|
/external/clang/lib/ARCMigrate/ |
D | TransRetainReleaseDealloc.cpp | 378 if (SM.isMacroArgExpansion(RecRange.getBegin())) in checkForGCDOrXPC() 380 if (SM.isMacroArgExpansion(RecRange.getEnd())) in checkForGCDOrXPC()
|
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
D | RemoveUsingNamespace.cpp | 168 if (!SM.isMacroArgExpansion(Loc)) in apply()
|
/external/llvm-project/clang/lib/Tooling/Syntax/ |
D | Tokens.cpp | 80 if (!ExpInfoFirst.isMacroArgExpansion() || in findCommonRangeForMacroArgs() 81 !ExpInfoLast.isMacroArgExpansion()) in findCommonRangeForMacroArgs() 357 SourceMgr->isMacroArgExpansion(Expanded.front().location()) && in spelledForExpanded() 358 SourceMgr->isMacroArgExpansion(Expanded.back().location())) { in spelledForExpanded()
|
/external/llvm-project/clang/unittests/Basic/ |
D | SourceManagerTest.cpp | 339 EXPECT_TRUE(SourceMgr.isMacroArgExpansion(loc2)); in TEST_F() 340 EXPECT_TRUE(SourceMgr.isMacroArgExpansion(loc3)); in TEST_F()
|
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 332 bool isMacroArgExpansion() const { in isMacroArgExpansion() function 1181 bool isMacroArgExpansion(SourceLocation Loc, 1582 if (isMacroArgExpansion(Loc)) in getImmediateMacroCallerLoc()
|
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
D | DurationRewriter.cpp | 312 while (Result.SourceManager->isMacroArgExpansion(Loc)) { in isInMacro()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | SourceManager.h | 387 bool isMacroArgExpansion() const { in isMacroArgExpansion() function 1289 bool isMacroArgExpansion(SourceLocation Loc, 1737 if (isMacroArgExpansion(Loc)) in getImmediateMacroCallerLoc()
|
D | SourceLocation.h | 394 bool isMacroArgExpansion(FullSourceLoc *StartLoc = nullptr) const;
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 515 if (!SM.isMacroArgExpansion(Loc)) in GetBeginningOfToken() 904 if (BeginEntry.getExpansion().isMacroArgExpansion()) { in makeFileCharRange() 910 if (EndEntry.getExpansion().isMacroArgExpansion() && in makeFileCharRange() 969 if (!Expansion.isMacroArgExpansion()) in getImmediateMacroName() 1009 while (SM.isMacroArgExpansion(Loc)) in getImmediateMacroNameForDiagnostics()
|