]> granicus.if.org Git - clang/commitdiff
Apparently when is now.
authorJohn McCall <rjmccall@apple.com>
Thu, 29 Oct 2009 08:17:34 +0000 (08:17 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 29 Oct 2009 08:17:34 +0000 (08:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85501 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/TemplateBase.h

index da956428f14e021e695672d7b101d200ff4076d0..2bd896e9361e8dc8d101c6f88063e467a5f002f5 100644 (file)
@@ -274,10 +274,6 @@ public:
 
 #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);