From: Eric Christopher Date: Thu, 27 Aug 2015 22:20:03 +0000 (+0000) Subject: Use an explicit assignment. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=77a43fc3b5ff393691cb0fbbbf79af3190b0b3a9;p=clang Use an explicit assignment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246225 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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();