reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Frontend/CompilerInvocation.cpp
 3437   LangOptions &LangOpts = *Res.getLangOpts();
 3458   Success &= ParseAnalyzerArgs(*Res.getAnalyzerOpts(), Args, Diags);
 3459   Success &= ParseMigratorArgs(Res.getMigratorOpts(), Args);
 3460   ParseDependencyOutputArgs(Res.getDependencyOutputOpts(), Args);
 3461   if (!Res.getDependencyOutputOpts().OutputFile.empty() &&
 3462       Res.getDependencyOutputOpts().Targets.empty()) {
 3467       ParseDiagnosticArgs(Res.getDiagnosticOpts(), Args, &Diags,
 3470   ParseFileSystemArgs(Res.getFileSystemOpts(), Args);
 3472   InputKind DashX = ParseFrontendArgs(Res.getFrontendOpts(), Args, Diags,
 3474   ParseTargetArgs(Res.getTargetOpts(), Args, Diags);
 3475   Success &= ParseCodeGenArgs(Res.getCodeGenOpts(), Args, DashX, Diags,
 3476                               Res.getTargetOpts(), Res.getFrontendOpts());
 3476                               Res.getTargetOpts(), Res.getFrontendOpts());
 3477   ParseHeaderSearchArgs(Res.getHeaderSearchOpts(), Args,
 3478                         Res.getFileSystemOpts().WorkingDir);
 3479   llvm::Triple T(Res.getTargetOpts().Triple);
 3496     ParseLangArgs(LangOpts, Args, DashX, Res.getTargetOpts(),
 3497                   Res.getPreprocessorOpts(), Diags);
 3498     if (Res.getFrontendOpts().ProgramAction == frontend::RewriteObjC)
 3504       Res.getDiagnosticOpts().Warnings.push_back("no-stdlibcxx-not-found");
 3509     Res.FrontendOpts.LLVMArgs.push_back("-pgo-warn-misexpect");
 3518       Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple;
 3518       Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple;
 3523     Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple;
 3523     Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple;
 3528   Res.getCodeGenOpts().DiscardValueNames &=
 3534   ParsePreprocessorArgs(Res.getPreprocessorOpts(), Args, Diags,
 3535                         Res.getFrontendOpts().ProgramAction);
 3536   ParsePreprocessorOutputArgs(Res.getPreprocessorOutputOpts(), Args,
 3537                               Res.getFrontendOpts().ProgramAction);
 3541     Res.getDiagnosticOpts().Warnings.push_back("spir-compat");
 3544   if (Res.getCodeGenOpts().FineGrainedBitfieldAccesses &&
 3545       !Res.getLangOpts()->Sanitize.empty()) {
 3546     Res.getCodeGenOpts().FineGrainedBitfieldAccesses = false;