From 77a43fc3b5ff393691cb0fbbbf79af3190b0b3a9 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 27 Aug 2015 22:20:03 +0000 Subject: [PATCH] Use an explicit assignment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246225 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGCall.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp index 67513e3ba4..d5997e5118 100644 --- a/lib/CodeGen/CGCall.cpp +++ b/lib/CodeGen/CGCall.cpp @@ -1503,8 +1503,8 @@ void CodeGenModule::ConstructAttributeList(const CGFunctionInfo &FI, const auto *TD = FD->getAttr(); // Make a copy of the features as passed on the command line. - std::vector FnFeatures( - getTarget().getTargetOpts().FeaturesAsWritten); + std::vector FnFeatures = + getTarget().getTargetOpts().FeaturesAsWritten; // Grab the target attribute string. StringRef FeaturesStr = TD->getFeatures(); -- 2.50.1