enum SemaDiagnosticBuilder::Kind
Declared at: clang/include/clang/Sema/Sema.h:1735
Enumerators
| Name | Value | Comment |
|---|---|---|
| K_Nop | 0 | Emit no diagnostics. |
| K_Immediate | 1 | Emit the diagnostic immediately (i.e., behave like Sema::Diag()). |
| K_ImmediateWithCallStack | 2 | Emit the diagnostic immediately, and, if it's a warning or error, also emit a call stack showing how this function can be reached by an a priori known-emitted function. |
| K_Deferred | 3 | Create a deferred diagnostic, which is emitted only if the function it's attached to is codegen'ed. Also emit a call stack as with K_ImmediateWithCallStack. |