Home
last modified time | relevance | path

Searched refs:getBufferName (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DIncludeCleanerTests.cpp256 if (AST.getSourceManager().getBufferName(Loc).endswith( in TEST()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DHeaders.cpp92 assert(SM.getBufferName(HashLoc).startswith("<") && in InclusionDirective()
/llvm-project-15.0.7/clang/lib/Lex/
H A DPPLexerChange.cpp83 << std::string(SourceMgr.getBufferName(FileStart)) << ""; in EnterSourceFile()
H A DPPDirectives.cpp356 (SourceMgr.getBufferName(MacroNameLoc) != "<built-in>")) { in CheckMacroName()
2624 if (SourceMgr.getBufferName(Loc) != "<built-in>") { in HandleIncludeMacrosDirective()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DSourceManager.h1419 StringRef getBufferName(SourceLocation Loc, bool *Invalid = nullptr) const;
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp257 return SM.getBufferName(SM.getSpellingLoc(Loc)) == "<built-in>"; in isInBuiltin()
H A DCodeGenModule.cpp2738 return EmitAnnotationString(SM.getBufferName(Loc)); in EmitAnnotationUnit()
/llvm-project-15.0.7/clang/lib/Basic/
H A DSourceManager.cpp1496 StringRef SourceManager::getBufferName(SourceLocation Loc, in getBufferName() function in SourceManager
/llvm-project-15.0.7/clang/lib/AST/
H A DJSONNodeDumper.cpp246 StringRef ActualFile = SM.getBufferName(Loc); in writeBareSourceLocation()