Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/lib/Index/
H A DFileIndexRecord.cpp59 SourceLocation Loc = SM.getFileLoc(D->getLocation()); in print()
69 SourceLocation Loc = SM.getFileLoc(MI->getDefinitionLoc()); in print()
H A DIndexingContext.cpp117 FileID FID = SM.getFileID(SM.getFileLoc(Loc)); in importedModule()
369 FileID FID = SM.getFileID(SM.getFileLoc(Loc)); in handleDeclOccurrence()
497 FileID FID = SM.getFileID(SM.getFileLoc(Loc)); in shouldIndexMacroOccurrence()
/openbsd/gnu/llvm/clang/tools/c-index-test/
H A Dcore_main.cpp110 Loc = SM.getFileLoc(Loc); in handleDeclOccurrence()
148 Loc = SM.getFileLoc(Loc); in handleModuleOccurrence()
171 Loc = SM.getFileLoc(Loc); in handleMacroOccurrence()
/openbsd/gnu/llvm/clang/lib/Basic/
H A DSourceLocation.cpp178 FullSourceLoc FullSourceLoc::getFileLoc() const { in getFileLoc() function in FullSourceLoc
180 return FullSourceLoc(SrcMgr->getFileLoc(*this), *SrcMgr); in getFileLoc()
H A DNoSanitizeList.cpp58 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.cpp135 return isFileExcluded(SM.getFilename(SM.getFileLoc(Loc)), Kind); in isLocationExcluded()
H A DSourceManager.cpp1718 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset()); in translateLineCol()
2261 SourceLocation FileStart = getFileLoc(getComposedLoc(ID, 0)); in noteSLocAddressSpaceUsage()
/openbsd/gnu/llvm/clang/lib/Lex/
H A DPPLexerChange.cpp133 SourceMgr.getFileCharacteristic(CurLexer->getFileLoc()); in EnterSourceFileWithLexer()
141 Callbacks->FileChanged(CurLexer->getFileLoc(), PPCallbacks::EnterFile, in EnterSourceFileWithLexer()
544 if (CurLexer->getFileLoc() == CodeCompletionFileLoc) in HandleEndOfFile()
550 Diag(CurLexer->getFileLoc(), diag::err_pp_through_header_not_seen) in HandleEndOfFile()
H A DPreprocessingRecord.cpp88 return SM.isInFileID(SM.getFileLoc(Loc), FID); in isPreprocessedEntityIfInFileID()
/openbsd/gnu/llvm/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.cpp165 Loc = getASTContext().getSourceManager().getFileLoc(Loc); in handleDeclOccurrence()
949 SourceLocation FileLoc = SM.getFileLoc(Loc); in isNotFromSourceFile()
1029 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(SM.getFileLoc(Loc)); in markEntityOccurrenceInFile()
1122 Loc = SM.getFileLoc(Loc); in translateLoc()
H A DCIndex.cpp249 FID = SM.getFileID(SM.getFileLoc(R.getBegin())); in visitPreprocessedEntitiesInRange()
250 if (FID != SM.getFileID(SM.getFileLoc(R.getEnd()))) in visitPreprocessedEntitiesInRange()
267 SM.getFileLoc(RegionOfInterest.getBegin())), in visitFileRegion()
269 SM.getFileLoc(RegionOfInterest.getEnd())); in visitFileRegion()
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DSourceLocation.h117 static SourceLocation getFileLoc(UIntTy ID) {
391 FullSourceLoc getFileLoc() const;
H A DSourceManager.h1130 return SourceLocation::getFileLoc(Entry->getOffset()); in getLocForStartOfFile()
1138 return SourceLocation::getFileLoc(Entry->getOffset() + in getLocForEndOfFile()
1178 SourceLocation getFileLoc(SourceLocation Loc) const { in getFileLoc() function
1238 return Entry->isFile() ? SourceLocation::getFileLoc(GlobalOffset) in getComposedLoc()
/openbsd/gnu/llvm/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp170 auto FileLoc = SM.getFileLoc(Loc); in operator ()()
/openbsd/gnu/llvm/clang/include/clang/Lex/
H A DLexer.h199 SourceLocation getFileLoc() const { return FileLoc; } in getFileLoc() function
/openbsd/gnu/llvm/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp117 Loc = Loc.getFileLoc(); in emitDiagnostic()
H A DASTUnit.cpp1285 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic()
2434 SourceLocation FileLoc = SM.getFileLoc(Loc); in addFileLevelDecl()
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTReader.cpp6282 if (SourceMgr.isInFileID(SourceMgr.getFileLoc(Loc), FID)) in isPreprocessedEntityInFileID()
7687 return Reader.getSourceManager().getFileLoc( in getLocation()
H A DASTWriter.cpp5650 SourceLocation FileLoc = SM.getFileLoc(Loc); in associateDeclWithFile()