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(); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits