Searched refs:isHeaderFile (Results 1 – 14 of 14) sorted by relevance
/llvm-project/clang-tools-extra/clangd/unittests/ |
H A D | SourceCodeTests.cpp | 779 TEST(SourceCodeTests, isHeaderFile) { in TEST() argument 781 EXPECT_TRUE(isHeaderFile("foo.h")); in TEST() 782 EXPECT_TRUE(isHeaderFile("foo.hh")); in TEST() 783 EXPECT_TRUE(isHeaderFile("foo.hpp")); in TEST() 785 EXPECT_FALSE(isHeaderFile("foo.cpp")); in TEST() 786 EXPECT_FALSE(isHeaderFile("foo.c++")); in TEST() 787 EXPECT_FALSE(isHeaderFile("foo.cxx")); in TEST() 788 EXPECT_FALSE(isHeaderFile("foo.cc")); in TEST() 789 EXPECT_FALSE(isHeaderFile("foo.c")); in TEST() 790 EXPECT_FALSE(isHeaderFile("foo.mm")); in TEST() [all …]
|
/llvm-project/clang/lib/InstallAPI/ |
H A D | HeaderFile.cpp | 39 bool isHeaderFile(StringRef Path) { in isHeaderFile() function 59 if (isHeaderFile(Path)) in enumerateFiles()
|
H A D | DirectoryScanner.cpp | 114 if (!isHeaderFile(HeaderPath)) in scanHeaders()
|
/llvm-project/clang/include/clang/InstallAPI/ |
H A D | HeaderFile.h | 156 bool isHeaderFile(StringRef Path);
|
/llvm-project/clang-tools-extra/clangd/ |
H A D | HeaderSourceSwitch.cpp | 95 bool IsHeader = isHeaderFile(OriginalFile, AST.getLangOpts()); in getCorrespondingHeaderOrSource()
|
H A D | SourceCode.h | 327 bool isHeaderFile(llvm::StringRef FileName,
|
H A D | AST.cpp | 371 if (!isHeaderFile(FileName, LangOpts)) in preferredIncludeDirective()
|
H A D | SourceCode.cpp | 1220 bool isHeaderFile(llvm::StringRef FileName, in isHeaderFile() function
|
/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
H A D | AddUsing.cpp | 259 if (isHeaderFile(SM.getFileEntryRefForID(SM.getMainFileID())->getName(), in prepare()
|
H A D | DefineInline.cpp | 364 if (!isHeaderFile(FileName, FD->getASTContext().getLangOpts())) in addInlineIfInHeader()
|
H A D | DefineOutline.cpp | 431 SameFile = !isHeaderFile(Sel.AST->tuPath(), Sel.AST->getLangOpts()); in apply() 510 SameFile && isHeaderFile(Sel.AST->tuPath(), Sel.AST->getLangOpts())); in getInsertionPoint()
|
/llvm-project/clang-tools-extra/clangd/index/ |
H A D | Background.cpp | 179 if (isHeaderFile(Path)) in boostRelated()
|
H A D | SymbolCollector.cpp | 644 !isHeaderFile(SM.getFileEntryRefForID(SM.getMainFileID())->getName(), in handleDeclOccurrence() 775 !isHeaderFile(SM.getFileEntryRefForID(SM.getMainFileID())->getName(), in handleMacroOccurrence()
|
/llvm-project/clang-tools-extra/clangd/refactor/ |
H A D | Rename.cpp | 246 bool MainFileIsHeader = isHeaderFile(MainFilePath, ASTCtx.getLangOpts()); in renameable()
|