diff options
author | Eric Christopher <echristo@gmail.com> | 2015-08-27 22:20:03 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2015-08-27 22:20:03 +0000 |
commit | da89d6804ceda6ee3fbd318388958b51e750f59e (patch) | |
tree | 3e2abb314caa11e21cad8cb247b123f0234ccbdb /clang/lib/CodeGen | |
parent | 46c9ae357844dbe8d0101491a1863a73b6ce1a04 (diff) | |
download | bcm5719-llvm-da89d6804ceda6ee3fbd318388958b51e750f59e.tar.gz bcm5719-llvm-da89d6804ceda6ee3fbd318388958b51e750f59e.zip |
Use an explicit assignment.
llvm-svn: 246225
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r-- | clang/lib/CodeGen/CGCall.cpp | 4 |
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(); |