|
LLVM 24.0.0git
|
#include "llvm/Support/SourceMgrDiagnosticVerifier.h"#include "llvm/Support/MemoryBuffer.h"#include "llvm/Support/raw_ostream.h"Go to the source code of this file.
Functions | |
| static StringRef | getDiagKindStr (SourceMgr::DiagKind kind) |
| Given a diagnostic kind, return a human readable string for it. | |
|
static |
Given a diagnostic kind, return a human readable string for it.
Definition at line 16 of file SourceMgrDiagnosticVerifier.cpp.
References llvm::SourceMgr::DK_Error, llvm::SourceMgr::DK_Note, llvm::SourceMgr::DK_Remark, llvm::SourceMgr::DK_Warning, and llvm_unreachable.
Referenced by llvm::SourceMgrDiagnosticVerifier::process(), and llvm::SourceMgrDiagnosticVerifier::verify().