|
clang 24.0.0git
|
RAII class that temporarily sets the "ignore all warnings" state on a DiagnosticsEngine and restores the previous state on destruction. More...
#include "clang/Basic/Diagnostic.h"
Public Member Functions | |
| IgnoreAllWarningDiagRAII (DiagnosticsEngine &Diag) | |
| ~IgnoreAllWarningDiagRAII () | |
RAII class that temporarily sets the "ignore all warnings" state on a DiagnosticsEngine and restores the previous state on destruction.
Use it to silence warnings around a self-contained region of diagnostics, such as a compiler-synthesized call whose arguments are known to be correct.
Definition at line 1131 of file Diagnostic.h.
|
inlineexplicit |
Definition at line 1136 of file Diagnostic.h.
|
inline |
Definition at line 1140 of file Diagnostic.h.