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

/openbsd-current/gnu/llvm/clang/lib/Index/
H A DFileIndexRecord.cpp59 SourceLocation Loc = SM.getFileLoc(D->getLocation());
69 SourceLocation Loc = SM.getFileLoc(MI->getDefinitionLoc());
H A DIndexingContext.cpp117 FileID FID = SM.getFileID(SM.getFileLoc(Loc));
369 FileID FID = SM.getFileID(SM.getFileLoc(Loc));
497 FileID FID = SM.getFileID(SM.getFileLoc(Loc));
/openbsd-current/gnu/llvm/clang/lib/Basic/
H A DXRayLists.cpp75 return this->shouldImbueFunctionsInFile(SM.getFilename(SM.getFileLoc(Loc)),
H A DNoSanitizeList.cpp58 containsFile(Mask, SM.getFilename(SM.getFileLoc(Loc)), Category);
H A DSourceLocation.cpp178 FullSourceLoc FullSourceLoc::getFileLoc() const { function in class:FullSourceLoc
180 return FullSourceLoc(SrcMgr->getFileLoc(*this), *SrcMgr);
H A DProfileList.cpp135 return isFileExcluded(SM.getFilename(SM.getFileLoc(Loc)), Kind);
H A DSourceManager.cpp1718 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset());
2261 SourceLocation FileStart = getFileLoc(getComposedLoc(ID, 0));
/openbsd-current/gnu/llvm/clang/tools/c-index-test/
H A Dcore_main.cpp110 Loc = SM.getFileLoc(Loc);
148 Loc = SM.getFileLoc(Loc);
171 Loc = SM.getFileLoc(Loc);
/openbsd-current/gnu/llvm/clang/lib/Lex/
H A DPPLexerChange.cpp133 SourceMgr.getFileCharacteristic(CurLexer->getFileLoc());
141 Callbacks->FileChanged(CurLexer->getFileLoc(), PPCallbacks::EnterFile,
544 if (CurLexer->getFileLoc() == CodeCompletionFileLoc)
550 Diag(CurLexer->getFileLoc(), diag::err_pp_through_header_not_seen)
H A DPreprocessingRecord.cpp88 return SM.isInFileID(SM.getFileLoc(Loc), FID);
/openbsd-current/gnu/llvm/clang/tools/libclang/
H A DCXSourceLocation.cpp322 SourceLocation SpellLoc = SM.getFileLoc(Loc);
358 SourceLocation FileLoc = SM.getFileLoc(Loc);
H A DCXIndexDataConsumer.cpp165 Loc = getASTContext().getSourceManager().getFileLoc(Loc);
949 SourceLocation FileLoc = SM.getFileLoc(Loc);
1029 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(SM.getFileLoc(Loc));
1122 Loc = SM.getFileLoc(Loc);
H A DCIndex.cpp249 FID = SM.getFileID(SM.getFileLoc(R.getBegin()));
250 if (FID != SM.getFileID(SM.getFileLoc(R.getEnd())))
267 SM.getFileLoc(RegionOfInterest.getBegin())),
269 SM.getFileLoc(RegionOfInterest.getEnd()));
/openbsd-current/gnu/llvm/clang/include/clang/Basic/
H A DSourceLocation.h117 static SourceLocation getFileLoc(UIntTy ID) { function
391 FullSourceLoc getFileLoc() const;
H A DSourceManager.h1130 return SourceLocation::getFileLoc(Entry->getOffset());
1138 return SourceLocation::getFileLoc(Entry->getOffset() +
1178 SourceLocation getFileLoc(SourceLocation Loc) const { function in class:clang::SourceManager
1238 return Entry->isFile() ? SourceLocation::getFileLoc(GlobalOffset)
/openbsd-current/gnu/llvm/clang/include/clang/Lex/
H A DLexer.h195 /// getFileLoc - Return the File Location for the file we are lexing out of.
199 SourceLocation getFileLoc() const { return FileLoc; } function in class:clang::Lexer
/openbsd-current/gnu/llvm/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp170 auto FileLoc = SM.getFileLoc(Loc);
/openbsd-current/gnu/llvm/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp117 Loc = Loc.getFileLoc();
H A DASTUnit.cpp1285 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation());
2434 SourceLocation FileLoc = SM.getFileLoc(Loc);
/openbsd-current/gnu/llvm/clang/lib/Serialization/
H A DASTReader.cpp6282 if (SourceMgr.isInFileID(SourceMgr.getFileLoc(Loc), FID))
7687 return Reader.getSourceManager().getFileLoc(
H A DASTWriter.cpp5650 SourceLocation FileLoc = SM.getFileLoc(Loc);

Completed in 396 milliseconds