Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DLangOptions.cpp48 IsHeaderFile = false; in resetNonModularOptions()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DLangOptions.h614 bool IsHeaderFile = false; variable
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp3025 DiagnosticsEngine &Diags, bool &IsHeaderFile) { in ParseFrontendArgs() argument
3209 IsHeaderFile = IsHeader && !Preprocessed && !ModuleMap && in ParseFrontendArgs()
3227 if (DashX.isUnknown() && Preprocessed && !IsHeaderFile && !ModuleMap && in ParseFrontendArgs()
3235 if (DashX.isUnknown() && !Preprocessed && !IsHeaderFile && !ModuleMap && in ParseFrontendArgs()
3255 IsHeaderFile = true; in ParseFrontendArgs()
3256 } else if (IsHeaderFile) in ParseFrontendArgs()
5139 ParseFrontendArgs(Res.getFrontendOpts(), Args, Diags, LangOpts.IsHeaderFile); in CreateFromArgsImpl()
5395 GenerateFrontendArgs(getFrontendOpts(), Consumer, getLangOpts().IsHeaderFile); in generateCC1CommandLine()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPragma.cpp418 if (isInPrimaryFile() && TUKind != TU_Prefix && !getLangOpts().IsHeaderFile) { in HandlePragmaOnce()
H A DPPDirectives.cpp2037 if (isInPrimaryFile() && LangOpts.IsHeaderFile) { in getIncludeNextStart()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp609 !getLangOpts().CPlusPlus && !getLangOpts().IsHeaderFile) in ParseFirstTopLevelDecl()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp562 static bool IsHeaderFile(const std::string &Filename) { in IsHeaderFile() function
581 IsHeader = IsHeaderFile(inFile); in RewriteObjC()
H A DRewriteModernObjC.cpp627 static bool IsHeaderFile(const std::string &Filename) { in IsHeaderFile() function
648 IsHeader = IsHeaderFile(inFile); in RewriteModernObjC()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp1567 !PP.getLangOpts().IsHeaderFile) in ActOnEndOfTranslationUnit()
H A DSemaDecl.cpp1840 if (S.TUKind != TU_Complete || S.getLangOpts().IsHeaderFile) in isMainFileLoc()