|
clang 24.0.0git
|
RAII class that temporarily forces warnings in system headers and system macros to be shown on a DiagnosticsEngine and restores the previous state on destruction. More...
#include "clang/Basic/Diagnostic.h"
Public Member Functions | |
| ForceSystemWarningsRAII (DiagnosticsEngine &Diag, bool Force=true) | |
| ~ForceSystemWarningsRAII () | |
RAII class that temporarily forces warnings in system headers and system macros to be shown on a DiagnosticsEngine and restores the previous state on destruction.
Use it to ask what a diagnostic's severity would be if the location were not in a system header.
Definition at line 1177 of file Diagnostic.h.
|
inlineexplicit |
Definition at line 1182 of file Diagnostic.h.
|
inline |
Definition at line 1187 of file Diagnostic.h.