[cfe-commits] r74126 - /cfe/trunk/lib/Sema/SemaExpr.cpp

Fariborz Jahanian fjahanian at apple.com
Wed Jun 24 15:09:46 PDT 2009


Author: fjahanian
Date: Wed Jun 24 17:09:44 2009
New Revision: 74126

URL: http://llvm.org/viewvc/llvm-project?rev=74126&view=rev
Log:
Backed out my last patch which caused a clang-test breakage. Will
look at it later.

Modified:
    cfe/trunk/lib/Sema/SemaExpr.cpp

Modified: cfe/trunk/lib/Sema/SemaExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExpr.cpp?rev=74126&r1=74125&r2=74126&view=diff

==============================================================================
--- cfe/trunk/lib/Sema/SemaExpr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExpr.cpp Wed Jun 24 17:09:44 2009
@@ -5548,7 +5548,7 @@
     else
       Constructor->setUsed(true);
   } 
-  else if (FunctionDecl *Function = dyn_cast<FunctionDecl>(D)) {
+  if (FunctionDecl *Function = dyn_cast<FunctionDecl>(D)) {
     // Implicit instantiation of function templates
     if (!Function->getBody(Context)) {
       if (Function->getInstantiatedFromMemberFunction())





More information about the cfe-commits mailing list