[cfe-commits] r77969 - /cfe/trunk/lib/Sema/SemaTemplateInstantiateExpr.cpp
Eli Friedman
eli.friedman at gmail.com
Mon Aug 3 02:07:14 PDT 2009
Author: efriedma
Date: Mon Aug 3 04:07:06 2009
New Revision: 77969
URL: http://llvm.org/viewvc/llvm-project?rev=77969&view=rev
Log:
Fix assertion crash. I don't have a testcase, but the fix is pretty
obviously correct.
Modified:
cfe/trunk/lib/Sema/SemaTemplateInstantiateExpr.cpp
Modified: cfe/trunk/lib/Sema/SemaTemplateInstantiateExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaTemplateInstantiateExpr.cpp?rev=77969&r1=77968&r2=77969&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaTemplateInstantiateExpr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaTemplateInstantiateExpr.cpp Mon Aug 3 04:07:06 2009
@@ -443,7 +443,7 @@
F = Overloads->function_begin(),
FEnd = Overloads->function_end();
F != FEnd; ++F)
- Functions.insert(cast<FunctionDecl>(*F));
+ Functions.insert(*F);
// Add any functions found via argument-dependent lookup.
DeclarationName OpName
More information about the cfe-commits
mailing list