Home
last modified time | relevance | path

Searched defs:FID (Results 1 – 25 of 95) sorted by relevance

1234

/llvm-project/clang/include/clang/Basic/
H A DPlistSupport.h28 FileID FID) { in AddFID() argument
40 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); AddFID() local
44 GetFID(const FIDMap & FIDs,FileID FID) GetFID() argument
52 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); GetFID() local
H A DSourceManager.h891 void setMainFileID(FileID FID) { in setMainFileID() argument
1070 const FileEntry *getFileEntryForID(FileID FID) const { in getFileEntryForID() argument
1077 OptionalFileEntryRef getFileEntryRefForID(FileID FID) const { in getFileEntryRefForID() argument
1118 getNumCreatedFIDsForFileID(FileID FID) getNumCreatedFIDsForFileID() argument
1154 getLocForStartOfFile(FileID FID) getLocForStartOfFile() argument
1162 getLocForEndOfFile(FileID FID) getLocForEndOfFile() argument
1171 getIncludeLoc(FileID FID) getIncludeLoc() argument
1182 FileID FID = getFileID(Loc); getModuleImportLoc() local
1258 getComposedLoc(FileID FID,unsigned Offset) getComposedLoc() argument
1273 FileID FID = getFileID(Loc); getDecomposedLoc() local
1286 FileID FID = getFileID(Loc); getDecomposedExpansionLoc() local
1304 FileID FID = getFileID(Loc); getDecomposedSpellingLoc() local
1812 isLoadedFileID(FileID FID) isLoadedFileID() argument
1818 isLocalFileID(FileID FID) isLocalFileID() argument
1851 getSLocEntryOrNull(FileID FID) getSLocEntryOrNull() argument
1855 getSLocEntryOrNull(FileID FID) getSLocEntryOrNull() argument
1861 getSLocEntryForFile(FileID FID) getSLocEntryForFile() argument
1865 getSLocEntryForFile(FileID FID) getSLocEntryForFile() argument
1921 isOffsetInFileID(FileID FID,SourceLocation::UIntTy SLocOffset) isOffsetInFileID() argument
[all...]
/llvm-project/clang/lib/Frontend/
H A DLogDiagnosticPrinter.cpp119 FileID FID = SM.getMainFileID(); in HandleDiagnostic() local
148 FileID FID = SM.getFileID(Info.getLocation()); HandleDiagnostic() local
H A DSARIFDiagnostic.cpp71 FileID FID = Loc.getFileID(); in addLocationToResult() local
121 auto FID = PLoc.getFileID(); in addLocationToResult() local
H A DTextDiagnostic.cpp789 if (FileID FID = Loc.getFileID(); FID.isValid()) { in emitDiagnosticLoc() local
913 findLinesForRange(const CharSourceRange &R, FileID FID, in findLinesForRange() argument
1001 static std::string buildFixItInsertionLine(FileID FID, in buildFixItInsertionLine() argument
1081 const std::pair<unsigned, unsigned> &Lines, FileID FID, in prepareAndFilterRanges() argument
1134 highlightLines(StringRef FileData,unsigned StartLineNumber,unsigned EndLineNumber,const Preprocessor * PP,const LangOptions & LangOpts,bool ShowColors,FileID FID,const SourceManager & SM) highlightLines() argument
1305 FileID FID = Loc.getFileID(); emitSnippetAndCaret() local
[all...]
/llvm-project/clang/lib/Rewrite/
H A DHTMLRewrite.cpp39 FileID FID = SM.getFileID(B); HighlightRange() local
135 EscapeText(Rewriter & R,FileID FID,bool EscapeSpaces,bool ReplaceTabs) EscapeText() argument
255 AddLineNumbers(Rewriter & R,FileID FID) AddLineNumbers() argument
302 AddHeaderFooterInternalBuiltinCSS(Rewriter & R,FileID FID,StringRef title) AddHeaderFooterInternalBuiltinCSS() argument
474 SyntaxHighlightImpl(Rewriter & R,FileID FID,const Preprocessor & PP,llvm::function_ref<void (RewriteBuffer &,unsigned,unsigned,const char *,const char *,const char *)> HighlightRangeCallback) SyntaxHighlightImpl() argument
563 SyntaxHighlight(Rewriter & R,FileID FID,const Preprocessor & PP,RelexRewriteCacheRef Cache) SyntaxHighlight() argument
595 HighlightMacrosImpl(Rewriter & R,FileID FID,const Preprocessor & PP,llvm::function_ref<void (Rewriter &,SourceLocation,SourceLocation,const char *,const char *,bool)> HighlightRangeCallback) HighlightMacrosImpl() argument
740 HighlightMacros(Rewriter & R,FileID FID,const Preprocessor & PP,RelexRewriteCacheRef Cache) HighlightMacros() argument
[all...]
H A DRewriter.cpp237 getEditBuffer(FileID FID) getEditBuffer() argument
255 FileID FID; InsertText() local
295 FileID FID; InsertTextAfterToken() local
308 FileID FID; RemoveText() local
334 FileID FID; ReplaceText() local
360 FileID FID = StartFileID; IncreaseIndentation() local
[all...]
H A DTokenRewriter.cpp26 TokenRewriter::TokenRewriter(FileID FID, SourceManager &SM, in TokenRewriter()
/llvm-project/clang/lib/Tooling/Syntax/
H A DTokenBufferTokenManager.cpp18 auto FID = SM.createFileID(std::move(Input)); in lexBuffer() local
/llvm-project/clang/lib/Index/
H A DFileIndexRecord.h34 FileIndexRecord(FileID FID, bool IsSystem) : FID(FID), IsSystem(IsSystem) {} in FileIndexRecord()
H A DIndexingContext.cpp116 FileID FID = SM.getFileID(SM.getFileLoc(Loc)); in importedModule() local
368 FileID FID = SM.getFileID(SM.getFileLoc(Loc)); in handleDeclOccurrence() local
496 FileID FID = SM.getFileID(SM.getFileLoc(Loc)); in shouldIndexMacroOccurrence() local
/llvm-project/clang/lib/Lex/
H A DScratchBuffer.cpp80 FileID FID = SourceMgr.createFileID(std::move(OwnBuf)); in AllocScratchBuffer() local
/llvm-project/clang/include/clang/Edit/
H A DFileOffset.h19 FileID FID; variable
/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp211 AddLineNote(FileID FID,unsigned Offset,unsigned LineNo,int FilenameID,unsigned EntryExit,SrcMgr::CharacteristicKind FileKind) AddLineNote() argument
248 FindNearestLineEntry(FileID FID,unsigned Offset) FindNearestLineEntry() argument
267 AddEntry(FileID FID,const std::vector<LineEntry> & Entries) AddEntry() argument
635 FileID FID = FileID::get(LocalSLocEntryTable.size()-1); createFileIDImpl() local
752 getBufferData(FileID FID,bool * Invalid) const getBufferData() argument
926 FileID FID; getDecomposedExpansionLocSlowCase() local
944 FileID FID; getDecomposedSpellingLocSlowCase() local
1015 FileID FID = getFileID(Loc); isMacroArgExpansion() local
1027 FileID FID = getFileID(Loc); isMacroBodyExpansion() local
1071 FileID FID = getFileID(Loc); isAtEndOfImmediateMacroExpansion() local
1135 getColumnNumber(FileID FID,unsigned FilePos,bool * Invalid) const getColumnNumber() argument
1300 getLineNumber(FileID FID,unsigned FilePos,bool * Invalid) const getLineNumber() argument
1489 FileID FID = LocInfo.first; getPresumedLoc() local
1649 translateLineCol(FileID FID,unsigned Line,unsigned Col) const translateLineCol() argument
1780 associateFileChunkWithMacroArgExp(MacroArgsMap & MacroArgsCache,FileID FID,SourceLocation SpellLoc,SourceLocation ExpansionLoc,unsigned ExpansionLength) const associateFileChunkWithMacroArgExp() argument
1877 FileID FID; getMacroArgExpandedLocation() local
1961 __anon4472f82a0202(FileID FID) isInTheSameTranslationUnitImpl() argument
[all...]
/llvm-project/clang-tools-extra/clangd/unittests/tweaks/
H A DTweakTests.cpp51 auto FID = SM.createFileID(*FM.getOptionalFileRef(Path), SourceLocation(), in TEST() local
/llvm-project/clang-tools-extra/clang-tidy/bugprone/
H A DSuspiciousSemicolonCheck.cpp54 FileID FID = SM.getFileID(LocEnd); in check() local
/llvm-project/clang-tools-extra/clangd/index/
H A DSymbolCollector.cpp250 getIncludeHeader(FileID FID) getIncludeHeader() argument
397 getIncludeHeaderUncached(FileID FID) getIncludeHeaderUncached() argument
618 auto FID = SM.getFileID(FileLoc); handleDeclOccurrence() local
829 if (FileID FID = SM.getDecomposedExpansionLoc(DefLoc).first; FID.isValid()) setIncludeLocation() local
889 FileID FID = IncludeFiles.lookup(SID); finish() local
1010 auto FID = SM.getFileID(Loc); addDeclaration() local
1080 shouldIndexFile(FileID FID) shouldIndexFile() argument
[all...]
/llvm-project/clang/tools/libclang/
H A DCIndexHigh.cpp48 FileID FID; member
219 FileID FID = SM.translateFile(File); in findIdRefsInFile() local
317 FileID FID = SM.translateFile(File); in findMacroRefsInFile() local
389 FileID FID = SM.translateFile(File); in findIncludesInFile() local
/llvm-project/clang/lib/ARCMigrate/
H A DPlistReporter.cpp74 for (FileID FID : Fids) in writeARCDiagsToPlist() local
/llvm-project/clang/lib/Frontend/Rewrite/
H A DHTMLPrint.cpp64 FileID FID = R.getSourceMgr().getMainFileID(); HandleTranslationUnit() local
/llvm-project/clang/tools/c-index-test/
H A Dcore_main.cpp111 FileID FID = SM.getFileID(Loc); handleDeclOccurrence() local
149 FileID FID = SM.getFileID(Loc); handleModuleOccurrence() local
172 FileID FID = SM.getFileID(Loc); handleMacroOccurrence() local
/llvm-project/clang/unittests/Basic/
H A DSarifTest.cpp367 CharSourceRange &&CSR = getFakeCharSourceRange(FID, {1, 1}, {2, 8}); in TEST_F() local
66 FileID FID = SourceMgr.getOrCreateFileID(SourceFile, SrcMgr::C_User); registerSource() local
72 getFakeCharSourceRange(FileID FID,LineCol Begin,LineCol End) getFakeCharSourceRange() argument
/llvm-project/clang-tools-extra/clang-change-namespace/
H A DChangeNamespace.h98 FileID FID; member
/llvm-project/clang/unittests/Format/
H A DTestLexer.h103 FileID FID = in getNewLexer() local
/llvm-project/clang/include/clang/Lex/
H A DPreprocessorLexer.h40 const FileID FID; variable

1234