aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2009-10-29 08:17:34 +0000
committerJohn McCall <rjmccall@apple.com>2009-10-29 08:17:34 +0000
commit4fff4b3fdf49272a26b7cb7bd564a521e938805b (patch)
treeb0d5b87f118a7553efcf8f4709145fb9a0c260d9
parent833ca991c1bfc967f0995974ca86f66ba1f666b5 (diff)
Apparently when is now.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85501 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/TemplateBase.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/clang/AST/TemplateBase.h b/include/clang/AST/TemplateBase.h
index da956428f1..2bd896e936 100644
--- a/include/clang/AST/TemplateBase.h
+++ b/include/clang/AST/TemplateBase.h
@@ -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);