Home
last modified time | relevance | path

Searched refs:isMacroID (Results 1 – 25 of 51) sorted by relevance

123

/external/clang/lib/Edit/
DCommit.cpp224 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()
DRewriteObjCFoundationAPI.cpp687 if (literalRange.getBegin().isMacroID() || in getLiteralInfo()
688 literalRange.getEnd().isMacroID()) in getLiteralInfo()
837 if (ArgRange.getBegin().isMacroID()) in rewriteToNumberLiteral()
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp129 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()
DTextDiagnostic.cpp852 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/
DCheckerHelpers.cpp20 if (S->getLocStart().isMacroID()) in containsMacro()
23 if (S->getLocEnd().isMacroID()) in containsMacro()
DCheckerContext.cpp95 if (Loc.isMacroID()) in getMacroNameOrSpelling()
DBugReporterVisitors.cpp850 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/
DReachableCode.cpp116 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/
DCIndexHigh.cpp138 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/
DEditTracker.cpp40 if (!filename.empty() || !location.isMacroID()) in Add()
/external/clang/lib/StaticAnalyzer/Checkers/
DMacOSXAPIChecker.cpp77 if (CE->getLocStart().isMacroID()) { in CheckDispatchOnce()
DIdenticalExprChecker.cpp326 if ((Expr1->getExprLoc().isMacroID()) || (Expr2->getExprLoc().isMacroID())) in isIdenticalStmt()
DDeadStoresChecker.cpp264 if (S->getLocStart().isMacroID()) in observeStmt()
/external/clang/lib/ARCMigrate/
DTransforms.cpp139 if (loc.isMacroID()) { in findSemiAfterLocation()
387 if (atLoc.isMacroID()) in rewritePropertyAttribute()
468 if (atLoc.isMacroID()) in addPropertyAttribute()
DTransGCAttrs.cpp94 if (Loc.isMacroID()) in handleAttr()
288 if (Loc.isMacroID()) in checkAllAtProps()
DTransUnbridgedCasts.cpp285 assert(Loc.isMacroID()); in getBlockMacroRanges()
340 if (CastLoc.isMacroID()) { in transformObjCToNonObjCCast()
DTransEmptyStatementsAndDealloc.cpp39 if (SemiLoc.isInvalid() || SemiLoc.isMacroID()) in isEmptyARCMTMacroStatement()
DTransRetainReleaseDealloc.cpp324 if (!Loc.isMacroID()) in checkForGCDOrXPC()
/external/clang/lib/Lex/
DLexer.cpp767 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/
DChromeClassTester.cpp153 if (!record_location.isMacroID()) { in InImplementationFile()
/external/clang/lib/Basic/
DSourceManager.cpp978 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/
DCoverageMappingGen.cpp109 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/
DSourceLocation.h101 bool isMacroID() const { return (ID & MacroIDBit) != 0; } in isMacroID() function
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp514 if (!Tok.getLocation().isMacroID()) { in HighlightMacros()
/external/v8/tools/clang/traffic_annotation_extractor/
Dtraffic_annotation_extractor.cpp161 if (source_location.isMacroID()) in GetInstanceLocation()

123