class DiagnosticOptions

Declaration

class DiagnosticOptions : public RefCountedBase { /* full declaration omitted */ };

Description

Options for controlling the compiler diagnostics engine.

Declared at: clang/include/clang/Basic/DiagnosticOptions.h:70

Inherits from: RefCountedBase

Member Variables

public unsigned int IgnoreWarnings
public unsigned int NoRewriteMacros
public unsigned int Pedantic
public unsigned int PedanticErrors
public unsigned int ShowLine
public unsigned int ShowColumn
public unsigned int ShowLocation
public unsigned int ShowLevel
public unsigned int AbsolutePath
public unsigned int ShowCarets
public unsigned int ShowFixits
public unsigned int ShowSourceRanges
public unsigned int ShowParseableFixits
public unsigned int ShowPresumedLoc
public unsigned int ShowOptionNames
public unsigned int ShowNoteIncludeStack
public unsigned int ShowCategories
public unsigned int ShowColors
public unsigned int UseANSIEscapeCodes
public unsigned int VerifyDiagnostics
public unsigned int ElideType
public unsigned int ShowTemplateTree
public unsigned int ErrorLimit
public unsigned int MacroBacktraceLimit
public unsigned int TemplateBacktraceLimit
public unsigned int ConstexprBacktraceLimit
public unsigned int SpellCheckingLimit
public unsigned int SnippetLineLimit
public unsigned int TabStop
public unsigned int MessageLength
protected unsigned int Format
protected unsigned int ShowOverloads
protected unsigned int VerifyIgnoreUnexpected
public std::string DiagnosticLogFile
The file to log diagnostic output to.
public std::string DiagnosticSerializationFile
The file to serialize diagnostics to (non-appending).
public std::vector<std::string> Warnings
The list of -W... options used to alter the diagnostic mappings, with the prefixes removed.
public std::vector<std::string> UndefPrefixes
The list of prefixes from -Wundef-prefix=... used to generate warnings for undefined macros.
public std::vector<std::string> Remarks
The list of -R... options used to alter the diagnostic mappings, with the prefixes removed.
public std::vector<std::string> VerifyPrefixes
The prefixes for comment directives sought by -verify ("expected" by default).

Method Overview

Methods

ΒΆDiagnosticOptions()

Declared at: clang/include/clang/Basic/DiagnosticOptions.h:133