Searched refs:isInsideMainFile (Results 1 – 13 of 13) sorted by relevance
/external/llvm-project/clang-tools-extra/clangd/ |
D | Diagnostics.cpp | 176 if (clangd::isInsideMainFile(IncludeLocation, SM)) { in getMainFileRange() 217 bool isInsideMainFile(const clang::Diagnostic &D) { in isInsideMainFile() function 221 return clangd::isInsideMainFile(D.getLocation(), D.getSourceManager()); in isInsideMainFile() 640 bool InsideMainFile = isInsideMainFile(Info); in HandleDiagnostic() 681 if (!isInsideMainFile(FixIt.RemoveRange.getBegin(), SM)) in HandleDiagnostic()
|
D | CollectMacros.h | 48 InMainFile = isInsideMainFile(Loc, SM); in FileChanged()
|
D | SourceCode.h | 84 bool isInsideMainFile(SourceLocation Loc, const SourceManager &SM);
|
D | Quality.cpp | 47 if (isInsideMainFile(Redecl->getLocation(), SourceMgr)) in hasDeclInMainFile() 57 if (isInsideMainFile(R.ShadowDecl->getLocation(), SourceMgr)) in hasUsingDeclInMainFile()
|
D | ParsedAST.cpp | 78 if (!isInsideMainFile(D->getLocation(), SM)) in HandleTopLevelDecl() 332 isInsideMainFile(Info.getLocation(), Info.getSourceManager()); in build()
|
D | Headers.cpp | 48 if (isInsideMainFile(HashLoc, SM)) { in InclusionDirective()
|
D | IncludeFixer.cpp | 344 if (!isInsideMainFile(Typo.getLoc(), SemaPtr->SourceMgr)) in CorrectTypo()
|
D | SourceCode.cpp | 417 bool isInsideMainFile(SourceLocation Loc, const SourceManager &SM) { in isInsideMainFile() function
|
D | XRefs.cpp | 799 if (!CanonicalTargets.count(D) || !isInsideMainFile(Loc, SM)) in handleDeclOccurrence()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | SourceCodeTests.cpp | 577 EXPECT_FALSE(isInsideMainFile(DeclLoc(HeaderDecl), SM)) << HeaderDecl; in TEST() 580 EXPECT_TRUE(isInsideMainFile(DeclLoc(MainDecl), SM)) << MainDecl; in TEST() 583 EXPECT_TRUE(isInsideMainFile(SM.getSpellingLoc(DeclLoc("Main4")), SM)); in TEST()
|
D | SymbolCollectorTests.cpp | 124 bool MainFile = isInsideMainFile(ND.getBeginLoc(), SM); in shouldCollect()
|
/external/llvm-project/clang-tools-extra/clangd/refactor/ |
D | Rename.cpp | 224 isInsideMainFile(RenameDecl.getBeginLoc(), ASTCtx.getSourceManager()); in renameable() 441 if (!isInsideMainFile(RenameLoc, SM)) in renameWithinFile()
|
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | SymbolCollector.cpp | 170 !isInsideMainFile(ND.getLocation(), SM); in isPreferredDeclaration()
|