Searched refs:isFileID (Results 1 – 21 of 21) sorted by relevance
66 assert((macroStart.isFileID() || firstToken.is(tok::comment)) && in getDefinitionLengthSlow()68 assert((macroEnd.isFileID() || lastToken.is(tok::comment)) && in getDefinitionLengthSlow()
134 if (PrevTok.getLocation().isFileID() && Tok.getLocation().isFileID() && in AvoidConcat()
50 assert((Tokens[0].getLocation().isFileID() || Tokens[0].is(tok::comment)) && in Init()532 assert(ResultTokLoc.isFileID() && in PasteTokens()679 if (loc.isFileID() && in getMacroExpansionLocation()
293 return CodeCompletionFile && FileLoc.isFileID() && in isCodeCompletionFile()
718 if (expansionLoc.isFileID()) in isAtStartOfMacroExpansion()748 if (expansionLoc.isFileID()) in isAtEndOfMacroExpansion()930 if (FileLoc.isFileID()) in getSourceLocation()
796 } while (!Loc.isFileID()); in getInstantiationLocSlowCase()806 } while (!Loc.isFileID()); in getSpellingLocSlowCase()825 } while (!Loc.isFileID()); in getDecomposedInstantiationLocSlowCase()843 } while (!Loc.isFileID()); in getDecomposedSpellingLocSlowCase()853 if (Loc.isFileID()) return Loc; in getImmediateSpellingLoc()873 if (Loc.isFileID()) return std::make_pair(Loc, Loc); in getInstantiationRange()880 while (!Res.first.isFileID()) in getInstantiationRange()882 while (!Res.second.isFileID()) in getInstantiationRange()
44 if (isFileID()) { in print()
734 if (Loc.isFileID()) return Loc; in getInstantiationLoc()755 if (Loc.isFileID()) return Loc; in getSpellingLoc()782 if (Loc.isFileID()) in getDecomposedInstantiationLoc()797 if (Loc.isFileID()) in getDecomposedSpellingLoc()
95 bool isFileID() const { return (ID & MacroIDBit) == 0; } in isFileID() function
159 if (!L.isFileID() || SMgr.getFileID(L) != FID) in ReportDiag()164 if (!L.isFileID() || SMgr.getFileID(L) != FID) in ReportDiag()445 assert(L.isFileID()); in HandlePiece()
895 if (!CLocs.back().isDead() && CLocs.back().asLocation().isFileID()) { in popLocation()1501 if (Loc.isFileID()) { in CompactPathDiagnostic()1545 assert(InstantiationLoc.isFileID()); in CompactPathDiagnostic()
3103 if (SLoc.isFileID()) { in getNodeLabel()3156 if (SLoc.isFileID()) { in getNodeLabel()
165 return Loc.isFileID(); in isRewritable()
361 if (!Loc.isFileID()) { in EmitCaretDiagnostic()1116 if (DiagOpts && DiagOpts->MacroBacktraceLimit && !LastLoc.isFileID()) { in HandleDiagnostic()1125 } while (!Loc.isFileID()); in HandleDiagnostic()
614 if (Tok.is(tok::eof) || !Tok.getLocation().isFileID()) in DoPrintPreprocessedInput()
389 if (loc.isFileID()) in canInsert()402 if (loc.isFileID()) in canInsertAfterToken()
113 if (!ParenRange.getEnd().isFileID() || EndLoc.isInvalid()) { in SuggestParentheses()
313 if (FILoc.isFileID() || PP.isAtStartOfMacroExpansion(FILoc)) { in ParseRHSOfBinaryExpression()
4738 if (ParenRange.getBegin().isFileID() && ParenRange.getEnd().isFileID() && in SuggestParentheses()6807 Loc.isFileID() && UO->getOperatorLoc().isFileID() && in CheckAssignmentOperands()6813 UO->getSubExpr()->getLocStart().isFileID()) { in CheckAssignmentOperands()
460 if (Attr.getLoc().isFileID()) in handleNonNullAttr()
121 if (R.isTokenRange() && !EndLoc.isInvalid() && EndLoc.isFileID()) { in translateSourceRange()2844 if (SimpleSpellingLoc.isFileID() && in clang_getSpellingLocation()