Home
last modified time | relevance | path

Searched refs:getFileLoc (Results 1 – 18 of 18) sorted by relevance

/external/clang/lib/Basic/
DSanitizerBlacklist.cpp44 isBlacklistedFile(SM.getFilename(SM.getFileLoc(Loc)), Category); in isBlacklistedLocation()
DSourceManager.cpp1740 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset()); in translateLineCol()
/external/clang/tools/libclang/
DCXSourceLocation.cpp331 SourceLocation SpellLoc = SM.getFileLoc(Loc); in clang_getSpellingLocation()
367 SourceLocation FileLoc = SM.getFileLoc(Loc); in clang_getFileLocation()
DCXIndexDataConsumer.cpp940 SourceLocation FileLoc = SM.getFileLoc(Loc); in isNotFromSourceFile()
1020 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(SM.getFileLoc(Loc)); in markEntityOccurrenceInFile()
1113 Loc = SM.getFileLoc(Loc); in translateLoc()
DCIndex.cpp236 FID = SM.getFileID(SM.getFileLoc(R.getBegin())); in visitPreprocessedEntitiesInRange()
237 if (FID != SM.getFileID(SM.getFileLoc(R.getEnd()))) in visitPreprocessedEntitiesInRange()
254 Begin = SM.getDecomposedLoc(SM.getFileLoc(RegionOfInterest.getBegin())), in visitFileRegion()
255 End = SM.getDecomposedLoc(SM.getFileLoc(RegionOfInterest.getEnd())); in visitFileRegion()
/external/clang/lib/Index/
DIndexingContext.cpp68 Loc = SM.getFileLoc(Loc); in importedModule()
245 Loc = SM.getFileLoc(Loc); in handleDeclOccurrence()
/external/clang/lib/Lex/
DPPLexerChange.cpp128 SourceMgr.getFileCharacteristic(CurLexer->getFileLoc()); in EnterSourceFileWithLexer()
130 Callbacks->FileChanged(CurLexer->getFileLoc(), in EnterSourceFileWithLexer()
451 if (CurLexer->getFileLoc() == CodeCompletionFileLoc) in HandleEndOfFile()
DPreprocessingRecord.cpp77 return SM.isInFileID(SM.getFileLoc(Loc), FID); in isPreprocessedEntityIfInFileID()
DPPDirectives.cpp400 if (CurLexer->getFileLoc() != CodeCompletionFileLoc) in SkipExcludedConditionalBlock()
/external/bcc/src/cc/frontends/clang/
Dtp_frontend_action.cc220 insert_loc = rewriter_.getSourceMgr().getFileLoc(insert_loc); in VisitFunctionDecl()
Db_frontend_action.cc697 auto real_start_loc = rewriter_.getSourceMgr().getFileLoc(GET_BEGINLOC(D)); in VisitFunctionDecl()
947 auto start_loc = rewriter_.getSourceMgr().getFileLoc(GET_BEGINLOC(Decl)); in VisitCallExpr()
/external/clang/include/clang/Basic/
DSourceManager.h1013 return SourceLocation::getFileLoc(FileOffset); in getLocForStartOfFile()
1025 return SourceLocation::getFileLoc(FileOffset + getFileIDSize(FID)); in getLocForEndOfFile()
1066 SourceLocation getFileLoc(SourceLocation Loc) const { in getFileLoc() function
DSourceLocation.h117 static SourceLocation getFileLoc(unsigned ID) { in getFileLoc() function
/external/clang/include/clang/Lex/
DLexer.h134 SourceLocation getFileLoc() const { return FileLoc; } in getFileLoc() function
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp115 Loc = SM->getFileLoc(Loc); in emitDiagnostic()
DASTUnit.cpp1306 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic()
2594 SourceLocation FileLoc = SM.getFileLoc(Loc); in addFileLevelDecl()
/external/clang/lib/Serialization/
DASTReader.cpp5092 if (SourceMgr.isInFileID(SourceMgr.getFileLoc(Loc), FID)) in isPreprocessedEntityInFileID()
6589 return Reader.getSourceManager().getFileLoc( in getLocation()
DASTWriter.cpp5040 SourceLocation FileLoc = SM.getFileLoc(Loc); in associateDeclWithFile()