Home
last modified time | relevance | path

Searched refs:isMacroArgExpansion (Results 1 – 25 of 46) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DASTUtils.cpp48 !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/
DUseNullptrCheck.cpp226 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/
DInefficientAlgorithmCheck.cpp131 if (SM.isMacroArgExpansion(CallRange.getBegin()) && in check()
132 SM.isMacroArgExpansion(CallRange.getEnd())) { in check()
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp283 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/
DDiagnosticRenderer.cpp274 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/
DSourceLocation.cpp178 bool FullSourceLoc::isMacroArgExpansion(FullSourceLoc *StartLoc) const { in isMacroArgExpansion() function in FullSourceLoc
180 return SrcMgr->isMacroArgExpansion(*this, StartLoc); in isMacroArgExpansion()
DSourceManager.cpp951 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/
DComparisonInTempFailureRetryCheck.cpp64 if (!SM.isMacroArgExpansion(Node.getRHS()->IgnoreParenCasts()->getBeginLoc())) in check()
/external/clang/lib/Edit/
DEditedSource.cpp29 assert(SourceMgr.isMacroArgExpansion(Loc)); in deconstructMacroArgLoc()
68 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in canInsertInOffset()
103 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in commitInsert()
DCommit.cpp228 while (SM.isMacroArgExpansion(loc)) in canInsert()
259 while (SM.isMacroArgExpansion(loc)) in canInsertAfterToken()
/external/llvm-project/clang/lib/Edit/
DEditedSource.cpp37 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/
DRedundantControlFlowCheck.cpp28 return SM.isMacroBodyExpansion(Loc) || SM.isMacroArgExpansion(Loc); in isLocationInMacroExpansion()
DImplicitBoolConversionCheck.cpp27 return SM.isMacroBodyExpansion(Loc) || SM.isMacroArgExpansion(Loc); in AST_MATCHER()
/external/clang/unittests/Basic/
DSourceManagerTest.cpp239 EXPECT_TRUE(SourceMgr.isMacroArgExpansion(loc2)); in TEST_F()
240 EXPECT_TRUE(SourceMgr.isMacroArgExpansion(loc3)); in TEST_F()
/external/clang/lib/Basic/
DSourceManager.cpp917 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/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp378 if (SM.isMacroArgExpansion(RecRange.getBegin())) in checkForGCDOrXPC()
380 if (SM.isMacroArgExpansion(RecRange.getEnd())) in checkForGCDOrXPC()
/external/llvm-project/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp382 if (SM.isMacroArgExpansion(RecRange.getBegin())) in checkForGCDOrXPC()
384 if (SM.isMacroArgExpansion(RecRange.getEnd())) in checkForGCDOrXPC()
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DRemoveUsingNamespace.cpp168 if (!SM.isMacroArgExpansion(Loc)) in apply()
/external/llvm-project/clang/lib/Tooling/Syntax/
DTokens.cpp80 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/
DSourceManagerTest.cpp339 EXPECT_TRUE(SourceMgr.isMacroArgExpansion(loc2)); in TEST_F()
340 EXPECT_TRUE(SourceMgr.isMacroArgExpansion(loc3)); in TEST_F()
/external/clang/include/clang/Basic/
DSourceManager.h332 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/
DDurationRewriter.cpp312 while (Result.SourceManager->isMacroArgExpansion(Loc)) { in isInMacro()
/external/llvm-project/clang/include/clang/Basic/
DSourceManager.h387 bool isMacroArgExpansion() const { in isMacroArgExpansion() function
1289 bool isMacroArgExpansion(SourceLocation Loc,
1737 if (isMacroArgExpansion(Loc)) in getImmediateMacroCallerLoc()
DSourceLocation.h394 bool isMacroArgExpansion(FullSourceLoc *StartLoc = nullptr) const;
/external/clang/lib/Lex/
DLexer.cpp515 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()

12