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

References

tools/clang/lib/Frontend/CompilerInvocation.cpp
 1512   Opts.DiagnosticLogFile = Args.getLastArgValue(OPT_diagnostic_log_file);
 1515     Opts.DiagnosticSerializationFile = A->getValue();
 1516   Opts.IgnoreWarnings = Args.hasArg(OPT_w);
 1517   Opts.NoRewriteMacros = Args.hasArg(OPT_Wno_rewrite_macros);
 1518   Opts.Pedantic = Args.hasArg(OPT_pedantic);
 1519   Opts.PedanticErrors = Args.hasArg(OPT_pedantic_errors);
 1520   Opts.ShowCarets = !Args.hasArg(OPT_fno_caret_diagnostics);
 1521   Opts.ShowColors = parseShowColorsArgs(Args, DefaultDiagColor);
 1522   Opts.ShowColumn = Args.hasFlag(OPT_fshow_column,
 1525   Opts.ShowFixits = !Args.hasArg(OPT_fno_diagnostics_fixit_info);
 1526   Opts.ShowLocation = !Args.hasArg(OPT_fno_show_source_location);
 1527   Opts.AbsolutePath = Args.hasArg(OPT_fdiagnostics_absolute_paths);
 1528   Opts.ShowOptionNames =
 1535   Opts.ShowNoteIncludeStack = false;
 1539       Opts.ShowNoteIncludeStack = true;
 1544     Opts.setShowOverloads(Ovl_Best);
 1546     Opts.setShowOverloads(Ovl_All);
 1558     Opts.ShowCategories = 0;
 1560     Opts.ShowCategories = 1;
 1562     Opts.ShowCategories = 2;
 1574     Opts.setFormat(DiagnosticOptions::Clang);
 1576     Opts.setFormat(DiagnosticOptions::MSVC);
 1578     Opts.setFormat(DiagnosticOptions::MSVC);
 1579     Opts.CLFallbackMode = true;
 1581     Opts.setFormat(DiagnosticOptions::Vi);
 1590   Opts.ShowSourceRanges = Args.hasArg(OPT_fdiagnostics_print_source_range_info);
 1591   Opts.ShowParseableFixits = Args.hasArg(OPT_fdiagnostics_parseable_fixits);
 1592   Opts.ShowPresumedLoc = !Args.hasArg(OPT_fno_diagnostics_use_presumed_location);
 1593   Opts.VerifyDiagnostics = Args.hasArg(OPT_verify) || Args.hasArg(OPT_verify_EQ);
 1594   Opts.VerifyPrefixes = Args.getAllArgValues(OPT_verify_EQ);
 1596     Opts.VerifyPrefixes.push_back("expected");
 1599   if (!checkVerifyPrefixes(Opts.VerifyPrefixes, Diags)) {
 1600     Opts.VerifyDiagnostics = false;
 1604     llvm::sort(Opts.VerifyPrefixes);
 1611   Opts.setVerifyIgnoreUnexpected(DiagMask);
 1612   Opts.ElideType = !Args.hasArg(OPT_fno_elide_type);
 1613   Opts.ShowTemplateTree = Args.hasArg(OPT_fdiagnostics_show_template_tree);
 1614   Opts.ErrorLimit = getLastArgIntValue(Args, OPT_ferror_limit, 0, Diags);
 1615   Opts.MacroBacktraceLimit =
 1618   Opts.TemplateBacktraceLimit = getLastArgIntValue(
 1621   Opts.ConstexprBacktraceLimit = getLastArgIntValue(
 1624   Opts.SpellCheckingLimit = getLastArgIntValue(
 1627   Opts.SnippetLineLimit = getLastArgIntValue(
 1630   Opts.TabStop = getLastArgIntValue(Args, OPT_ftabstop,
 1632   if (Opts.TabStop == 0 || Opts.TabStop > DiagnosticOptions::MaxTabStop) {
 1632   if (Opts.TabStop == 0 || Opts.TabStop > DiagnosticOptions::MaxTabStop) {
 1633     Opts.TabStop = DiagnosticOptions::DefaultTabStop;
 1636       << Opts.TabStop << DiagnosticOptions::DefaultTabStop;
 1638   Opts.MessageLength = getLastArgIntValue(Args, OPT_fmessage_length, 0, Diags);
 1639   addDiagnosticArgs(Args, OPT_W_Group, OPT_W_value_Group, Opts.Warnings);
 1640   addDiagnosticArgs(Args, OPT_R_Group, OPT_R_value_Group, Opts.Remarks);