From 486754660bb926339aefcf012a3f848592babb8b Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 28 Jul 2018 11:06:01 +0000 Subject: Vendor import of clang trunk r338150: https://llvm.org/svn/llvm-project/cfe/trunk@338150 --- lib/Basic/DiagnosticIDs.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/Basic/DiagnosticIDs.cpp') diff --git a/lib/Basic/DiagnosticIDs.cpp b/lib/Basic/DiagnosticIDs.cpp index c4c425d9eb1d..697de68a5afb 100644 --- a/lib/Basic/DiagnosticIDs.cpp +++ b/lib/Basic/DiagnosticIDs.cpp @@ -340,7 +340,7 @@ bool DiagnosticIDs::isBuiltinWarningOrExtension(unsigned DiagID) { getBuiltinDiagClass(DiagID) != CLASS_ERROR; } -/// \brief Determine whether the given built-in diagnostic ID is a +/// Determine whether the given built-in diagnostic ID is a /// Note. bool DiagnosticIDs::isBuiltinNote(unsigned DiagID) { return DiagID < diag::DIAG_UPPER_LIMIT && @@ -412,7 +412,7 @@ DiagnosticIDs::getDiagnosticLevel(unsigned DiagID, SourceLocation Loc, return toLevel(getDiagnosticSeverity(DiagID, Loc, Diag)); } -/// \brief Based on the way the client configured the Diagnostic +/// Based on the way the client configured the Diagnostic /// object, classify the specified diagnostic ID into a Level, consumable by /// the DiagnosticClient. /// @@ -470,7 +470,7 @@ DiagnosticIDs::getDiagnosticSeverity(unsigned DiagID, SourceLocation Loc, Result = diag::Severity::Error; } - // If -Wfatal-errors is enabled, map errors to fatal unless explicity + // If -Wfatal-errors is enabled, map errors to fatal unless explicitly // disabled. if (Result == diag::Severity::Error) { if (State->ErrorsAsFatal && !Mapping.hasNoErrorAsFatal()) -- cgit v1.3