[cfe-commits] r85501 - /cfe/trunk/include/clang/AST/TemplateBase.h

John McCall rjmccall at apple.com
Thu Oct 29 01:17:36 PDT 2009


Author: rjmccall
Date: Thu Oct 29 03:17:34 2009
New Revision: 85501

URL: http://llvm.org/viewvc/llvm-project?rev=85501&view=rev
Log:
Apparently when is now.


Modified:
    cfe/trunk/include/clang/AST/TemplateBase.h

Modified: cfe/trunk/include/clang/AST/TemplateBase.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/TemplateBase.h?rev=85501&r1=85500&r2=85501&view=diff

==============================================================================
--- cfe/trunk/include/clang/AST/TemplateBase.h (original)
+++ cfe/trunk/include/clang/AST/TemplateBase.h Thu Oct 29 03:17:34 2009
@@ -274,10 +274,6 @@
 
 #ifndef NDEBUG
   void validateForArgument(const TemplateArgument &Arg) {
-    // We permit empty data.  This should be removed when source info
-    // is being uniformly preserved.
-    if (Kind == K_None) return;
-
     switch (Arg.getKind()) {
     case TemplateArgument::Type:
       assert(Kind == K_DeclaratorInfo);





More information about the cfe-commits mailing list