Skip to content

Commit db5365b

Browse files
authored
Merge pull request #8709 from apple/jdevlieghere/severity-namespace
[lldb] Properly namespace Severity enum values
2 parents a43ac0e + d4a9650 commit db5365b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lldb/source/Plugins/TypeSystem/Swift/StoringDiagnosticConsumer.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,12 @@ class StoringDiagnosticConsumer : public swift::DiagnosticConsumer {
243243
static lldb::Severity SeverityForKind(swift::DiagnosticKind kind) {
244244
switch (kind) {
245245
case swift::DiagnosticKind::Error:
246-
return eSeverityError;
246+
return lldb::eSeverityError;
247247
case swift::DiagnosticKind::Warning:
248-
return eSeverityWarning;
248+
return lldb::eSeverityWarning;
249249
case swift::DiagnosticKind::Note:
250250
case swift::DiagnosticKind::Remark:
251-
return eSeverityInfo;
251+
return lldb::eSeverityInfo;
252252
}
253253

254254
llvm_unreachable("Unhandled DiagnosticKind in switch.");

0 commit comments

Comments
 (0)