From: Douglas Gregor Date: Mon, 13 Sep 2010 16:44:26 +0000 (+0000) Subject: Fix a typo noted by Gabor X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1034170d053b2600dc435a128be88d76e6f988cf;p=clang Fix a typo noted by Gabor git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113754 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaDeclCXX.cpp b/lib/Sema/SemaDeclCXX.cpp index 3157f9c706..2d31e8cc9a 100644 --- a/lib/Sema/SemaDeclCXX.cpp +++ b/lib/Sema/SemaDeclCXX.cpp @@ -3235,7 +3235,7 @@ Decl *Sema::ActOnConversionDeclarator(CXXConversionDecl *Conversion) { ConvType = ConvTypeRef->getPointeeType(); if (Conversion->getTemplateSpecializationKind() != TSK_Undeclared && Conversion->getTemplateSpecializationKind() != TSK_ExplicitSpecialization) - /* Suppress disanogstics for instantiations. */; + /* Suppress diagnostics for instantiations. */; else if (ConvType->isRecordType()) { ConvType = Context.getCanonicalType(ConvType).getUnqualifiedType(); if (ConvType == ClassType)