Home
last modified time | relevance | path

Searched refs:isFileID (Results 1 – 21 of 21) sorted by relevance

/external/clang/lib/Lex/
DMacroInfo.cpp66 assert((macroStart.isFileID() || firstToken.is(tok::comment)) && in getDefinitionLengthSlow()
68 assert((macroEnd.isFileID() || lastToken.is(tok::comment)) && in getDefinitionLengthSlow()
DTokenConcatenation.cpp134 if (PrevTok.getLocation().isFileID() && Tok.getLocation().isFileID() && in AvoidConcat()
DTokenLexer.cpp50 assert((Tokens[0].getLocation().isFileID() || Tokens[0].is(tok::comment)) && in Init()
532 assert(ResultTokLoc.isFileID() && in PasteTokens()
679 if (loc.isFileID() && in getMacroExpansionLocation()
DPreprocessor.cpp293 return CodeCompletionFile && FileLoc.isFileID() && in isCodeCompletionFile()
DLexer.cpp718 if (expansionLoc.isFileID()) in isAtStartOfMacroExpansion()
748 if (expansionLoc.isFileID()) in isAtEndOfMacroExpansion()
930 if (FileLoc.isFileID()) in getSourceLocation()
/external/clang/lib/Basic/
DSourceManager.cpp796 } 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()
DSourceLocation.cpp44 if (isFileID()) { in print()
/external/clang/include/clang/Basic/
DSourceManager.h734 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()
DSourceLocation.h95 bool isFileID() const { return (ID & MacroIDBit) == 0; } in isFileID() function
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp159 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()
DBugReporter.cpp895 if (!CLocs.back().isDead() && CLocs.back().asLocation().isFileID()) { in popLocation()
1501 if (Loc.isFileID()) { in CompactPathDiagnostic()
1545 assert(InstantiationLoc.isFileID()); in CompactPathDiagnostic()
DExprEngine.cpp3103 if (SLoc.isFileID()) { in getNodeLabel()
3156 if (SLoc.isFileID()) { in getNodeLabel()
/external/clang/include/clang/Rewrite/
DRewriter.h165 return Loc.isFileID(); in isRewritable()
/external/clang/lib/Frontend/
DTextDiagnosticPrinter.cpp361 if (!Loc.isFileID()) { in EmitCaretDiagnostic()
1116 if (DiagOpts && DiagOpts->MacroBacktraceLimit && !LastLoc.isFileID()) { in HandleDiagnostic()
1125 } while (!Loc.isFileID()); in HandleDiagnostic()
DPrintPreprocessedOutput.cpp614 if (Tok.is(tok::eof) || !Tok.getLocation().isFileID()) in DoPrintPreprocessedInput()
/external/clang/lib/ARCMigrate/
DTransformActions.cpp389 if (loc.isFileID()) in canInsert()
402 if (loc.isFileID()) in canInsertAfterToken()
/external/clang/lib/Parse/
DParser.cpp113 if (!ParenRange.getEnd().isFileID() || EndLoc.isInvalid()) { in SuggestParentheses()
DParseExpr.cpp313 if (FILoc.isFileID() || PP.isAtStartOfMacroExpansion(FILoc)) { in ParseRHSOfBinaryExpression()
/external/clang/lib/Sema/
DSemaExpr.cpp4738 if (ParenRange.getBegin().isFileID() && ParenRange.getEnd().isFileID() && in SuggestParentheses()
6807 Loc.isFileID() && UO->getOperatorLoc().isFileID() && in CheckAssignmentOperands()
6813 UO->getSubExpr()->getLocStart().isFileID()) { in CheckAssignmentOperands()
DSemaDeclAttr.cpp460 if (Attr.getLoc().isFileID()) in handleNonNullAttr()
/external/clang/tools/libclang/
DCIndex.cpp121 if (R.isTokenRange() && !EndLoc.isInvalid() && EndLoc.isFileID()) { in translateSourceRange()
2844 if (SimpleSpellingLoc.isFileID() && in clang_getSpellingLocation()