summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-08-27 22:20:03 +0000
committerEric Christopher <echristo@gmail.com>2015-08-27 22:20:03 +0000
commitda89d6804ceda6ee3fbd318388958b51e750f59e (patch)
tree3e2abb314caa11e21cad8cb247b123f0234ccbdb
parent46c9ae357844dbe8d0101491a1863a73b6ce1a04 (diff)
downloadbcm5719-llvm-da89d6804ceda6ee3fbd318388958b51e750f59e.tar.gz
bcm5719-llvm-da89d6804ceda6ee3fbd318388958b51e750f59e.zip
Use an explicit assignment.
llvm-svn: 246225
-rw-r--r--clang/lib/CodeGen/CGCall.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp
index 67513e3ba4b..d5997e51180 100644
--- a/clang/lib/CodeGen/CGCall.cpp
+++ b/clang/lib/CodeGen/CGCall.cpp
@@ -1503,8 +1503,8 @@ void CodeGenModule::ConstructAttributeList(const CGFunctionInfo &FI,
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();
OpenPOWER on IntegriCloud