Home
last modified time | relevance | path

Searched refs:InputKind (Results 1 – 7 of 7) sorted by relevance

/external/clang/include/clang/Frontend/
DFrontendOptions.h61 enum InputKind { enum
87 InputKind Kind;
94 FrontendInputFile(StringRef File, InputKind Kind, bool IsSystem = false)
96 FrontendInputFile(llvm::MemoryBuffer *buffer, InputKind Kind,
100 InputKind getKind() const { return Kind; } in getKind()
232 static InputKind getInputKindForExtension(StringRef Extension);
DCompilerInvocation.h155 static void setLangDefaults(LangOptions &Opts, InputKind IK,
DFrontendAction.h139 InputKind getCurrentFileKind() const { in getCurrentFileKind()
/external/clang/lib/Frontend/
DFrontendOptions.cpp14 InputKind FrontendOptions::getInputKindForExtension(StringRef Extension) { in getInputKindForExtension()
15 return llvm::StringSwitch<InputKind>(Extension) in getInputKindForExtension()
DCompilerInvocation.cpp67 static unsigned getOptimizationLevel(ArgList &Args, InputKind IK, in getOptimizationLevel()
296 static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK, in ParseCodeGenArgs()
629 static InputKind ParseFrontendArgs(FrontendOptions &Opts, ArgList &Args, in ParseFrontendArgs()
799 InputKind DashX = IK_None; in ParseFrontendArgs()
801 DashX = llvm::StringSwitch<InputKind>(A->getValue()) in ParseFrontendArgs()
834 InputKind IK = DashX; in ParseFrontendArgs()
971 void CompilerInvocation::setLangDefaults(LangOptions &Opts, InputKind IK, in setLangDefaults()
1087 static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK, in ParseLangArgs()
1587 InputKind DashX = ParseFrontendArgs(Res.getFrontendOpts(), *Args, Diags); in CreateFromArgs()
DChainedIncludesSource.cpp71 InputKind IK = CI.getFrontendOpts().Inputs[0].getKind(); in create()
DCompilerInstance.cpp735 static InputKind getSourceInputKindFromOptions(const LangOptions &LangOpts) { in getSourceInputKindFromOptions()
846 InputKind IK = getSourceInputKindFromOptions(*Invocation->getLangOpts()); in compileModule()