mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Add 'remark' diagnostic type in LLVM
A 'remark' is information that is not an error or a warning, but rather some additional information provided to the user. In contrast to a 'note' a 'remark' is an independent diagnostic, whereas a 'note' always depends on another diagnostic. A typical use case for remark nodes is information provided to the user, e.g. information provided by the vectorizer about loops that have been vectorized. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202474 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -142,6 +142,9 @@ void LLVMContext::diagnose(const DiagnosticInfo &DI) {
|
||||
case DS_Warning:
|
||||
errs() << "warning: " << MsgStorage << "\n";
|
||||
break;
|
||||
case DS_Remark:
|
||||
errs() << "remark: " << MsgStorage << "\n";
|
||||
break;
|
||||
case DS_Note:
|
||||
errs() << "note: " << MsgStorage << "\n";
|
||||
break;
|
||||
|
Reference in New Issue
Block a user