r246225 - Use an explicit assignment.

Eric Christopher via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 27 15:20:03 PDT 2015


Author: echristo
Date: Thu Aug 27 17:20:03 2015
New Revision: 246225

URL: http://llvm.org/viewvc/llvm-project?rev=246225&view=rev
Log:
Use an explicit assignment.

Modified:
    cfe/trunk/lib/CodeGen/CGCall.cpp

Modified: cfe/trunk/lib/CodeGen/CGCall.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGCall.cpp?rev=246225&r1=246224&r2=246225&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGCall.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGCall.cpp Thu Aug 27 17:20:03 2015
@@ -1503,8 +1503,8 @@ void CodeGenModule::ConstructAttributeLi
       const auto *TD = FD->getAttr<TargetAttr>();
 
       // Make a copy of the features as passed on the command line.
-      std::vector<std::string> FnFeatures(
-          getTarget().getTargetOpts().FeaturesAsWritten);
+      std::vector<std::string> FnFeatures =
+          getTarget().getTargetOpts().FeaturesAsWritten;
 
       // Grab the target attribute string.
       StringRef FeaturesStr = TD->getFeatures();




More information about the cfe-commits mailing list