File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
lldb/source/Plugins/TypeSystem/Swift Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2760,18 +2760,19 @@ class StoringDiagnosticConsumer : public swift::DiagnosticConsumer {
2760
2760
bool use_fixits = false ;
2761
2761
llvm::SourceMgr::DiagKind source_mgr_kind;
2762
2762
switch (info.Kind ) {
2763
- default :
2764
2763
case swift::DiagnosticKind::Error:
2765
2764
source_mgr_kind = llvm::SourceMgr::DK_Error;
2766
2765
use_fixits = true ;
2767
2766
break ;
2768
2767
case swift::DiagnosticKind::Warning:
2769
2768
source_mgr_kind = llvm::SourceMgr::DK_Warning;
2770
2769
break ;
2771
-
2772
2770
case swift::DiagnosticKind::Note:
2773
2771
source_mgr_kind = llvm::SourceMgr::DK_Note;
2774
2772
break ;
2773
+ case swift::DiagnosticKind::Remark:
2774
+ source_mgr_kind = llvm::SourceMgr::DK_Remark;
2775
+ break ;
2775
2776
}
2776
2777
2777
2778
// Swift may insert note diagnostics after an error diagnostic with fixits
You can’t perform that action at this time.
0 commit comments