diff options
| author | Erich Keane <erich.keane@intel.com> | 2017-10-27 18:45:06 +0000 |
|---|---|---|
| committer | Erich Keane <erich.keane@intel.com> | 2017-10-27 18:45:06 +0000 |
| commit | 857ac594b7b97aa0769d8e4a2c4ecb485665de58 (patch) | |
| tree | 5b54b998592fbe7efdada6460790d6b2e9f89855 /clang/lib/CodeGen/CGCall.cpp | |
| parent | cf8807c931fc2e8d6cd44cb38db49611758696f6 (diff) | |
| download | bcm5719-llvm-857ac594b7b97aa0769d8e4a2c4ecb485665de58.tar.gz bcm5719-llvm-857ac594b7b97aa0769d8e4a2c4ecb485665de58.zip | |
Replace a few usages of llvm::join with range-version[NFC]
I noticed a few usages of llvm::join that were using
begin/end rather than just the range version. This patch
just replaces those.
llvm-svn: 316784
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGCall.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp index c19fb097f68..971455a8737 100644 --- a/clang/lib/CodeGen/CGCall.cpp +++ b/clang/lib/CodeGen/CGCall.cpp @@ -1742,7 +1742,7 @@ void CodeGenModule::ConstructDefaultFnAttrList(StringRef Name, bool HasOptnone, std::vector<std::string> &Recips = getTarget().getTargetOpts().Reciprocals; if (!Recips.empty()) FuncAttrs.addAttribute("reciprocal-estimates", - llvm::join(Recips.begin(), Recips.end(), ",")); + llvm::join(Recips, ",")); if (CodeGenOpts.StackRealignment) FuncAttrs.addAttribute("stackrealign"); @@ -1894,7 +1894,7 @@ void CodeGenModule::ConstructAttributeList( std::sort(Features.begin(), Features.end()); FuncAttrs.addAttribute( "target-features", - llvm::join(Features.begin(), Features.end(), ",")); + llvm::join(Features, ",")); } } else { // Otherwise just add the existing target cpu and target features to the @@ -1906,7 +1906,7 @@ void CodeGenModule::ConstructAttributeList( std::sort(Features.begin(), Features.end()); FuncAttrs.addAttribute( "target-features", - llvm::join(Features.begin(), Features.end(), ",")); + llvm::join(Features, ",")); } } } |

