Home
last modified time | relevance | path

Searched refs:TUKind (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseAST.cpp102 TranslationUnitKind TUKind, in ParseAST() argument
107 new Sema(PP, Ctx, *Consumer, TUKind, CompletionConsumer)); in ParseAST()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParseAST.h40 TranslationUnitKind TUKind = TU_Complete,
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DASTUnit.h158 TranslationUnitKind TUKind = TU_Complete; variable
658 TranslationUnitKind getTranslationUnitKind() const { return TUKind; } in getTranslationUnitKind()
791 TranslationUnitKind TUKind = TU_Complete,
842 TranslationUnitKind TUKind = TU_Complete,
H A DCompilerInstance.h721 void createPreprocessor(TranslationUnitKind TUKind);
764 void createSema(TranslationUnitKind TUKind,
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessor.cpp88 TranslationUnitKind TUKind) in Preprocessor() argument
97 TUKind(TUKind), SkipMainFilePreamble(0, true), in Preprocessor()
620 return TUKind == TU_Prefix && !PPOpts->PCHThroughHeader.empty() && in creatingPCHWithThroughHeader()
625 return TUKind != TU_Prefix && !PPOpts->PCHThroughHeader.empty() && in usingPCHWithThroughHeader()
630 return TUKind == TU_Prefix && PPOpts->PCHWithHdrStop; in creatingPCHWithPragmaHdrStop()
634 return TUKind != TU_Prefix && PPOpts->PCHWithHdrStop; in usingPCHWithPragmaHdrStop()
H A DPPLexerChange.cpp575 if (TUKind == TU_Complete) { in HandleEndOfFile()
H A DPragma.cpp422 if (isInPrimaryFile() && TUKind != TU_Prefix && !getLangOpts().IsHeaderFile) { in HandlePragmaOnce()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp215 TranslationUnitKind TUKind, CodeCompleteConsumer *CodeCompleter) in Sema() argument
216 : SemaBase(*this), CollectStats(false), TUKind(TUKind), in Sema()
268 assert(pp.TUKind == TUKind); in Sema()
1175 if (TUKind != TU_Prefix) { in ActOnEndOfTranslationUnit()
1227 if (TUKind == TU_Prefix) { in ActOnEndOfTranslationUnit()
1292 if (TUKind == TU_ClangModule) { in ActOnEndOfTranslationUnit()
1406 if (!Diags.hasErrorOccurred() && TUKind != TU_ClangModule) { in ActOnEndOfTranslationUnit()
H A DSemaModule.cpp734 TUKind == TU_ClangModule && in BuildModuleInclude()
H A DSemaTemplateInstantiateDecl.cpp6416 TUKind == TU_Prefix && Function->instantiationIsPending()) in PerformPendingInstantiations()
H A DSemaDeclCXX.cpp18446 if (TUKind != TU_Prefix && LangOpts.OpenMP && LangOpts.OpenMPIsTargetDevice && in MarkVTableUsed()
H A DSemaDecl.cpp1823 if (S.TUKind != TU_Complete || S.getLangOpts().IsHeaderFile) in isMainFileLoc()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp1578 AST->TUKind = Action ? Action->getTranslationUnitKind() : TU_Complete; in LoadFromCompilerInvocationAction()
1726 unsigned PrecompilePreambleAfterNParses, TranslationUnitKind TUKind, in LoadFromCompilerInvocation() argument
1735 AST->TUKind = TUKind; in LoadFromCompilerInvocation()
1765 unsigned PrecompilePreambleAfterNParses, TranslationUnitKind TUKind, in LoadFromCommandLine() argument
1832 AST->TUKind = TUKind; in LoadFromCommandLine()
H A DCompilerInstance.cpp445 void CompilerInstance::createPreprocessor(TranslationUnitKind TUKind) { in createPreprocessor() argument
459 /*OwnsHeaderSearch=*/true, TUKind); in createPreprocessor()
554 PP.getBuiltinInfo(), PP.TUKind); in createASTContext()
745 void CompilerInstance::createSema(TranslationUnitKind TUKind, in createSema() argument
748 TUKind, CompletionConsumer)); in createSema()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h662 const TranslationUnitKind TUKind; variable
1104 assert(!TUDecl || TUKind == TU_Incremental); in addTranslationUnitDecl()
1210 TranslationUnitKind TUKind);
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h295 const TranslationUnitKind TUKind;
1184 TranslationUnitKind TUKind = TU_Complete);
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h578 TranslationUnitKind TUKind = TU_Complete,
958 const TranslationUnitKind TUKind; variable
13589 if (S.TUKind != TU_Prefix || !S.LangOpts.PCHInstantiateTemplates) { in ~GlobalEagerInstantiationScope()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp874 Builtin::Context &builtins, TranslationUnitKind TUKind) in ASTContext() argument
892 BuiltinInfo(builtins), TUKind(TUKind), DeclarationNames(*this), in ASTContext()