Home
last modified time | relevance | path

Searched refs:IsHeaderFile (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/third-party/benchmark/
H A D.ycm_extra_conf.py74 def IsHeaderFile( filename ): function
84 if IsHeaderFile( filename ):
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseAST.cpp179 if (S.getLangOpts().CPlusPlusModules && !S.getLangOpts().IsHeaderFile && in ParseAST()
H A DParser.cpp599 !getLangOpts().CPlusPlus && !getLangOpts().IsHeaderFile) in ParseFirstTopLevelDecl()
/llvm-project-15.0.7/clang/lib/Basic/
H A DLangOptions.cpp38 IsHeaderFile = false; in resetNonModularOptions()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DRenameTests.cpp846 bool IsHeaderFile; in TEST() member
1078 if (Case.IsHeaderFile) { in TEST()
H A DSourceCodeTests.cpp794 LangOpts.IsHeaderFile = true; in TEST()
798 LangOpts.IsHeaderFile = false; in TEST()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DLangOptions.h454 bool IsHeaderFile = false; variable
/llvm-project-15.0.7/clang/lib/Frontend/
H A DCompilerInvocation.cpp2693 DiagnosticsEngine &Diags, bool &IsHeaderFile) { in ParseFrontendArgs() argument
2853 IsHeaderFile = IsHeader && !Preprocessed && !ModuleMap && in ParseFrontendArgs()
2872 if (DashX.isUnknown() && Preprocessed && !IsHeaderFile && !ModuleMap && in ParseFrontendArgs()
2880 if (DashX.isUnknown() && !Preprocessed && !IsHeaderFile && !ModuleMap && in ParseFrontendArgs()
2899 IsHeaderFile = true; in ParseFrontendArgs()
2900 } else if (IsHeaderFile) in ParseFrontendArgs()
4463 ParseFrontendArgs(Res.getFrontendOpts(), Args, Diags, LangOpts.IsHeaderFile); in CreateFromArgsImpl()
4655 GenerateFrontendArgs(FrontendOpts, Args, SA, LangOpts->IsHeaderFile); in generateCC1CommandLine()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DDiagnostics.cpp891 if (ID == diag::pp_pragma_sysheader_in_main_file && LangOpts.IsHeaderFile) in isBuiltinDiagnosticSuppressed()
H A DSourceCode.cpp1162 if (LangOpts && LangOpts->IsHeaderFile) in isHeaderFile()
/llvm-project-15.0.7/clang/lib/Lex/
H A DPragma.cpp410 if (isInPrimaryFile() && TUKind != TU_Prefix && !getLangOpts().IsHeaderFile) { in HandlePragmaOnce()
H A DPPDirectives.cpp1919 if (isInPrimaryFile() && LangOpts.IsHeaderFile) { in getIncludeNextStart()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSema.cpp1361 !PP.getLangOpts().IsHeaderFile) in ActOnEndOfTranslationUnit()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp564 static bool IsHeaderFile(const std::string &Filename) { in IsHeaderFile() function
583 IsHeader = IsHeaderFile(inFile); in RewriteObjC()
H A DRewriteModernObjC.cpp629 static bool IsHeaderFile(const std::string &Filename) { in IsHeaderFile() function
650 IsHeader = IsHeaderFile(inFile); in RewriteModernObjC()