[cfe-commits] r72976 - /cfe/trunk/lib/AST/DeclTemplate.cpp
Mike Stump
mrs at apple.com
Fri Jun 5 16:49:48 PDT 2009
Author: mrs
Date: Fri Jun 5 18:49:48 2009
New Revision: 72976
URL: http://llvm.org/viewvc/llvm-project?rev=72976&view=rev
Log:
Avoid warnings.
Modified:
cfe/trunk/lib/AST/DeclTemplate.cpp
Modified: cfe/trunk/lib/AST/DeclTemplate.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/DeclTemplate.cpp?rev=72976&r1=72975&r2=72976&view=diff
==============================================================================
--- cfe/trunk/lib/AST/DeclTemplate.cpp (original)
+++ cfe/trunk/lib/AST/DeclTemplate.cpp Fri Jun 5 18:49:48 2009
@@ -240,6 +240,7 @@
//===----------------------------------------------------------------------===//
void TemplateArgumentListBuilder::push_back(const TemplateArgument& Arg) {
switch (Arg.getKind()) {
+ default: break;
case TemplateArgument::Type:
assert(Arg.getAsType()->isCanonical() && "Type must be canonical!");
break;
More information about the cfe-commits
mailing list