/external/clang/lib/Edit/ |
D | Commit.cpp | 224 if (loc.isMacroID()) in canInsert() 231 if (loc.isMacroID()) in canInsert() 255 if (loc.isMacroID()) in canInsertAfterToken() 262 if (loc.isMacroID()) in canInsertAfterToken() 302 if (range.getBegin().isMacroID() || range.getEnd().isMacroID()) in canRemoveRange()
|
D | RewriteObjCFoundationAPI.cpp | 687 if (literalRange.getBegin().isMacroID() || in getLiteralInfo() 688 literalRange.getEnd().isMacroID()) in getLiteralInfo() 837 if (ArgRange.getBegin().isMacroID()) in rewriteToNumberLiteral()
|
/external/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 129 if (UnexpandedLoc.isValid() && UnexpandedLoc.isMacroID()) { in emitDiagnostic() 278 if (!Loc.isMacroID()) in retrieveMacroLocation() 316 while (Loc.isMacroID()) { in getMacroArgExpansionFileIDs() 373 while (Begin.isMacroID() && BeginFileID != EndFileID) { in mapDiagnosticRanges() 381 while (End.isMacroID() && !BeginLocsMap.count(EndFileID)) { in mapDiagnosticRanges() 385 if (End.isMacroID()) { in mapDiagnosticRanges() 481 assert(Loc.isMacroID() && "Must be a macro expansion!"); in checkRangesForMacroArgExpansion() 531 while (Loc.isMacroID()) { in emitMacroExpansions()
|
D | TextDiagnostic.cpp | 852 if (B == E && RI->getEnd().isMacroID()) in emitDiagnosticLoc() 1244 I->RemoveRange.getBegin().isMacroID() || in emitParseableFixits() 1245 I->RemoveRange.getEnd().isMacroID()) in emitParseableFixits()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CheckerHelpers.cpp | 20 if (S->getLocStart().isMacroID()) in containsMacro() 23 if (S->getLocEnd().isMacroID()) in containsMacro()
|
D | CheckerContext.cpp | 95 if (Loc.isMacroID()) in getMacroNameOrSpelling()
|
D | BugReporterVisitors.cpp | 850 if (BugLoc.isMacroID()) in VisitNode() 859 if (!CurStmt->getLocStart().isMacroID()) in VisitNode() 872 if (TerminatorLoc.isMacroID()) { in VisitNode() 1632 while (Loc.isMacroID()) { in getEndPath()
|
/external/clang/lib/Analysis/ |
D | ReachableCode.cpp | 116 assert(Loc.isMacroID()); in getTopMostMacro() 118 while (Loc.isMacroID()) { in getTopMostMacro() 134 if (L.isMacroID()) { in isExpandedFromConfigurationMacro() 172 if (!PE->getLocStart().isMacroID()) in isConfigurationValue() 470 if (S->getLocStart().isMacroID()) { in scanBackwards()
|
/external/clang/tools/libclang/ |
D | CIndexHigh.cpp | 138 assert(Loc.isMacroID()); in getFileSpellingLoc() 140 if (SpellLoc.isMacroID()) in getFileSpellingLoc() 191 if (Loc.isMacroID()) { in findFileIdRefVisit() 286 if (Loc.isMacroID()) { in findFileMacroRefVisit()
|
/external/v8/tools/clang/rewrite_to_chrome_style/ |
D | EditTracker.cpp | 19 if (!filename.empty() || !location.isMacroID()) in Add()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MacOSXAPIChecker.cpp | 77 if (CE->getLocStart().isMacroID()) { in CheckDispatchOnce()
|
D | IdenticalExprChecker.cpp | 326 if ((Expr1->getExprLoc().isMacroID()) || (Expr2->getExprLoc().isMacroID())) in isIdenticalStmt()
|
D | DeadStoresChecker.cpp | 264 if (S->getLocStart().isMacroID()) in observeStmt()
|
/external/clang/lib/ARCMigrate/ |
D | Transforms.cpp | 139 if (loc.isMacroID()) { in findSemiAfterLocation() 387 if (atLoc.isMacroID()) in rewritePropertyAttribute() 468 if (atLoc.isMacroID()) in addPropertyAttribute()
|
D | TransGCAttrs.cpp | 94 if (Loc.isMacroID()) in handleAttr() 288 if (Loc.isMacroID()) in checkAllAtProps()
|
D | TransUnbridgedCasts.cpp | 285 assert(Loc.isMacroID()); in getBlockMacroRanges() 340 if (CastLoc.isMacroID()) { in transformObjCToNonObjCCast()
|
D | TransEmptyStatementsAndDealloc.cpp | 39 if (SemiLoc.isInvalid() || SemiLoc.isMacroID()) in isEmptyARCMTMacroStatement()
|
D | TransRetainReleaseDealloc.cpp | 324 if (!Loc.isMacroID()) in checkForGCDOrXPC()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 767 if (Loc.isMacroID()) { in getLocForEndOfToken() 787 assert(loc.isValid() && loc.isMacroID() && "Expected a valid macro loc"); in isAtStartOfMacroExpansion() 809 assert(loc.isValid() && loc.isMacroID() && "Expected a valid macro loc"); in isAtEndOfMacroExpansion() 869 if (Begin.isMacroID() && End.isFileID()) { in makeFileCharRange() 876 if (Begin.isFileID() && End.isMacroID()) { in makeFileCharRange() 886 assert(Begin.isMacroID() && End.isMacroID()); in makeFileCharRange() 961 assert(Loc.isMacroID() && "Only reasonble to call this on macros"); in getImmediateMacroName() 1007 assert(Loc.isMacroID() && "Only reasonble to call this on macros"); in getImmediateMacroNameForDiagnostics() 1048 assert(FileLoc.isMacroID() && "Must be a macro expansion"); in GetMappedTokenLoc() 1188 if (Loc.isMacroID()) { in findLocationAfterToken()
|
/external/v8/tools/clang/plugins/ |
D | ChromeClassTester.cpp | 227 if (!record_location.isMacroID()) { in InImplementationFile()
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 978 assert(Loc.isMacroID() && "Not a macro expansion loc!"); in getImmediateExpansionRange() 1003 if (!Loc.isMacroID()) return false; in isMacroArgExpansion() 1015 if (!Loc.isMacroID()) return false; in isMacroBodyExpansion() 1024 assert(Loc.isValid() && Loc.isMacroID() && "Expected a valid macro loc"); in isAtStartOfImmediateMacroExpansion() 1059 assert(Loc.isValid() && Loc.isMacroID() && "Expected a valid macro loc"); in isAtEndOfImmediateMacroExpansion()
|
/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 109 if (Loc.isMacroID()) in getStartOfFileOrMacro() 116 if (Loc.isMacroID()) in getEndOfFileOrMacro() 124 return Loc.isMacroID() ? SM.getImmediateExpansionRange(Loc).first in getIncludeOrExpansionLoc()
|
/external/clang/include/clang/Basic/ |
D | SourceLocation.h | 101 bool isMacroID() const { return (ID & MacroIDBit) != 0; } in isMacroID() function
|
D | SourceManager.h | 1362 return loc.isMacroID() && isInSystemHeader(getSpellingLoc(loc)); in isInSystemMacro() 1577 if (!Loc.isMacroID()) return Loc; in getImmediateMacroCallerLoc()
|
/external/clang/lib/Rewrite/ |
D | HTMLRewrite.cpp | 514 if (!Tok.getLocation().isMacroID()) { in HighlightMacros()
|