enum SemaDiagnosticBuilder::Kind

Declared at: clang/include/clang/Sema/Sema.h:1735

Enumerators

NameValueComment
K_Nop0Emit no diagnostics.
K_Immediate1Emit the diagnostic immediately (i.e., behave like Sema::Diag()).
K_ImmediateWithCallStack2Emit 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_Deferred3Create 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.