r206298 - Fix a comment to match the implementation

Alp Toker alp at nuanti.com
Tue Apr 15 09:24:51 PDT 2014


Author: alp
Date: Tue Apr 15 11:24:50 2014
New Revision: 206298

URL: http://llvm.org/viewvc/llvm-project?rev=206298&view=rev
Log:
Fix a comment to match the implementation

Modified:
    cfe/trunk/lib/Sema/SemaDecl.cpp

Modified: cfe/trunk/lib/Sema/SemaDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDecl.cpp?rev=206298&r1=206297&r2=206298&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDecl.cpp Tue Apr 15 11:24:50 2014
@@ -8623,7 +8623,7 @@ void Sema::ActOnInitializerError(Decl *D
     return;
   }
 
-  // Require an abstract type.
+  // Require a non-abstract type.
   if (RequireNonAbstractType(VD->getLocation(), Ty,
                              diag::err_abstract_type_in_decl,
                              AbstractVariableType)) {





More information about the cfe-commits mailing list