Added a missing else part to my previous patche(s).



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74108 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp
index 0f73f9e..ae136f6 100644
--- a/lib/Sema/SemaExpr.cpp
+++ b/lib/Sema/SemaExpr.cpp
@@ -5548,8 +5548,7 @@
     else
       Constructor->setUsed(true);
   } 
-  
-  if (FunctionDecl *Function = dyn_cast<FunctionDecl>(D)) {
+  else if (FunctionDecl *Function = dyn_cast<FunctionDecl>(D)) {
     // Implicit instantiation of function templates
     if (!Function->getBody(Context)) {
       if (Function->getInstantiatedFromMemberFunction())