Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DFileIndexRecord.cpp67 SourceLocation Loc = SM.getFileLoc(D->getLocation()); in print()
77 SourceLocation Loc = SM.getFileLoc(MI->getDefinitionLoc()); in print()
H A DIndexingContext.cpp118 FileID FID = SM.getFileID(SM.getFileLoc(Loc)); in importedModule()
373 FileID FID = SM.getFileID(SM.getFileLoc(Loc)); in handleDeclOccurrence()
501 FileID FID = SM.getFileID(SM.getFileLoc(Loc)); in shouldIndexMacroOccurrence()
/netbsd-src/external/apache2/llvm/dist/clang/tools/c-index-test/
H A Dcore_main.cpp109 Loc = SM.getFileLoc(Loc); in handleDeclOccurrence()
147 Loc = SM.getFileLoc(Loc); in handleModuleOccurrence()
170 Loc = SM.getFileLoc(Loc); in handleMacroOccurrence()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DSourceLocation.cpp174 FullSourceLoc FullSourceLoc::getFileLoc() const { in getFileLoc() function in FullSourceLoc
176 return FullSourceLoc(SrcMgr->getFileLoc(*this), *SrcMgr); in getFileLoc()
H A DNoSanitizeList.cpp53 containsFile(Mask, SM.getFilename(SM.getFileLoc(Loc)), Category); in containsLocation()
H A DXRayLists.cpp75 return this->shouldImbueFunctionsInFile(SM.getFilename(SM.getFileLoc(Loc)), in shouldImbueLocation()
H A DProfileList.cpp102 return isFileExcluded(SM.getFilename(SM.getFileLoc(Loc)), Kind); in isLocationExcluded()
H A DSourceManager.cpp1712 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset()); in translateLineCol()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DPPLexerChange.cpp115 SourceMgr.getFileCharacteristic(CurLexer->getFileLoc()); in EnterSourceFileWithLexer()
117 Callbacks->FileChanged(CurLexer->getFileLoc(), in EnterSourceFileWithLexer()
505 if (CurLexer->getFileLoc() == CodeCompletionFileLoc) in HandleEndOfFile()
511 Diag(CurLexer->getFileLoc(), diag::err_pp_through_header_not_seen) in HandleEndOfFile()
H A DPreprocessingRecord.cpp87 return SM.isInFileID(SM.getFileLoc(Loc), FID); in isPreprocessedEntityIfInFileID()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXSourceLocation.cpp322 SourceLocation SpellLoc = SM.getFileLoc(Loc); in clang_getSpellingLocation()
358 SourceLocation FileLoc = SM.getFileLoc(Loc); in clang_getFileLocation()
H A DCXIndexDataConsumer.cpp160 Loc = getASTContext().getSourceManager().getFileLoc(Loc); in handleDeclOccurrence()
936 SourceLocation FileLoc = SM.getFileLoc(Loc); in isNotFromSourceFile()
1016 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(SM.getFileLoc(Loc)); in markEntityOccurrenceInFile()
1109 Loc = SM.getFileLoc(Loc); in translateLoc()
H A DCIndex.cpp248 FID = SM.getFileID(SM.getFileLoc(R.getBegin())); in visitPreprocessedEntitiesInRange()
249 if (FID != SM.getFileID(SM.getFileLoc(R.getEnd()))) in visitPreprocessedEntitiesInRange()
266 SM.getFileLoc(RegionOfInterest.getBegin())), in visitFileRegion()
268 SM.getFileLoc(RegionOfInterest.getEnd())); in visitFileRegion()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DSourceLocation.h119 static SourceLocation getFileLoc(unsigned ID) {
392 FullSourceLoc getFileLoc() const;
H A DSourceManager.h1117 return SourceLocation::getFileLoc(Entry->getOffset()); in getLocForStartOfFile()
1125 return SourceLocation::getFileLoc(Entry->getOffset() + in getLocForEndOfFile()
1165 SourceLocation getFileLoc(SourceLocation Loc) const { in getFileLoc() function
1225 return Entry->isFile() ? SourceLocation::getFileLoc(GlobalOffset) in getComposedLoc()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DLexer.h178 SourceLocation getFileLoc() const { return FileLoc; } in getFileLoc() function
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp118 Loc = Loc.getFileLoc(); in emitDiagnostic()
H A DASTUnit.cpp1259 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic()
2404 SourceLocation FileLoc = SM.getFileLoc(Loc); in addFileLevelDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReader.cpp6181 if (SourceMgr.isInFileID(SourceMgr.getFileLoc(Loc), FID)) in isPreprocessedEntityInFileID()
7567 return Reader.getSourceManager().getFileLoc( in getLocation()
H A DASTWriter.cpp5274 SourceLocation FileLoc = SM.getFileLoc(Loc); in associateDeclWithFile()