Index: clang/lib/AST/ASTDiagnostic.cpp =================================================================== --- clang/lib/AST/ASTDiagnostic.cpp +++ clang/lib/AST/ASTDiagnostic.cpp @@ -372,7 +372,7 @@ default: llvm_unreachable("unknown ArgumentKind"); case DiagnosticsEngine::ak_addrspace: { assert(Modifier.empty() && Argument.empty() && - "Invalid modifier for Qualfiers argument"); + "Invalid modifier for Qualifiers argument"); auto S = Qualifiers::getAddrSpaceAsString(static_cast(Val)); if (S.empty()) { @@ -387,7 +387,7 @@ } case DiagnosticsEngine::ak_qual: { assert(Modifier.empty() && Argument.empty() && - "Invalid modifier for Qualfiers argument"); + "Invalid modifier for Qualifiers argument"); Qualifiers Q(Qualifiers::fromOpaqueValue(Val)); auto S = Q.getAsString();