clang
9.0.0
|
Options for controlling the compiler diagnostics engine. More...
#include "clang/Basic/DiagnosticOptions.h"
Public Types | |
enum | TextDiagnosticFormat { Clang, MSVC, Vi } |
enum | { DefaultTabStop = 8, MaxTabStop = 100, DefaultMacroBacktraceLimit = 6, DefaultTemplateBacktraceLimit = 10, DefaultConstexprBacktraceLimit = 10, DefaultSpellCheckingLimit = 50, DefaultSnippetLineLimit = 1 } |
Public Member Functions | |
DiagnosticOptions () | |
Public Attributes | |
std::string | DiagnosticLogFile |
The file to log diagnostic output to. More... | |
std::string | DiagnosticSerializationFile |
The file to serialize diagnostics to (non-appending). More... | |
std::vector< std::string > | Warnings |
The list of -W... More... | |
std::vector< std::string > | Remarks |
The list of -R... More... | |
std::vector< std::string > | VerifyPrefixes |
The prefixes for comment directives sought by -verify ("expected" by default). More... | |
Options for controlling the compiler diagnostics engine.
Definition at line 63 of file DiagnosticOptions.h.
anonymous enum |
Enumerator | |
---|---|
DefaultTabStop | |
MaxTabStop | |
DefaultMacroBacktraceLimit | |
DefaultTemplateBacktraceLimit | |
DefaultConstexprBacktraceLimit | |
DefaultSpellCheckingLimit | |
DefaultSnippetLineLimit |
Definition at line 68 of file DiagnosticOptions.h.
Enumerator | |
---|---|
Clang | |
MSVC | |
Vi |
Definition at line 65 of file DiagnosticOptions.h.
|
inline |
Definition at line 117 of file DiagnosticOptions.h.
std::string clang::DiagnosticOptions::DiagnosticLogFile |
The file to log diagnostic output to.
Definition at line 92 of file DiagnosticOptions.h.
Referenced by checkVerifyPrefixes(), clang::CompilerInstance::createDiagnostics(), and SetUpDiagnosticLog().
std::string clang::DiagnosticOptions::DiagnosticSerializationFile |
The file to serialize diagnostics to (non-appending).
Definition at line 95 of file DiagnosticOptions.h.
Referenced by checkVerifyPrefixes(), and clang::CompilerInstance::createDiagnostics().
std::vector<std::string> clang::DiagnosticOptions::Remarks |
The list of -R...
options used to alter the diagnostic mappings, with the prefixes removed.
Definition at line 103 of file DiagnosticOptions.h.
Referenced by checkVerifyPrefixes(), and clang::ProcessWarningOptions().
std::vector<std::string> clang::DiagnosticOptions::VerifyPrefixes |
The prefixes for comment directives sought by -verify ("expected" by default).
Definition at line 107 of file DiagnosticOptions.h.
Referenced by checkVerifyPrefixes().
std::vector<std::string> clang::DiagnosticOptions::Warnings |
The list of -W...
options used to alter the diagnostic mappings, with the prefixes removed.
Definition at line 99 of file DiagnosticOptions.h.
Referenced by checkVerifyPrefixes(), clang::CompilerInvocation::CreateFromArgs(), and clang::ProcessWarningOptions().