diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2017-01-13 14:39:03 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2017-01-13 14:39:03 +0000 |
commit | 061f4a5fe6c60116831fa18e7db7faa24c7bd1e2 (patch) | |
tree | 230b3008532884534ba5398c518949a2e906a27b /llvm/lib/Target/ARM/ARMCallLowering.cpp | |
parent | 2178370e534d12d24ed505610b7569e12de5e3ad (diff) | |
download | bcm5719-llvm-061f4a5fe6c60116831fa18e7db7faa24c7bd1e2.tar.gz bcm5719-llvm-061f4a5fe6c60116831fa18e7db7faa24c7bd1e2.zip |
Apply clang-tidy's performance-unnecessary-value-param to LLVM.
With some minor manual fixes for using function_ref instead of
std::function. No functional change intended.
llvm-svn: 291904
Diffstat (limited to 'llvm/lib/Target/ARM/ARMCallLowering.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMCallLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMCallLowering.cpp b/llvm/lib/Target/ARM/ARMCallLowering.cpp index 1768a54d86a..4b5fa4bb8c5 100644 --- a/llvm/lib/Target/ARM/ARMCallLowering.cpp +++ b/llvm/lib/Target/ARM/ARMCallLowering.cpp @@ -30,7 +30,7 @@ using namespace llvm; ARMCallLowering::ARMCallLowering(const ARMTargetLowering &TLI) : CallLowering(&TLI) {} -static bool isSupportedType(const DataLayout DL, const ARMTargetLowering &TLI, +static bool isSupportedType(const DataLayout &DL, const ARMTargetLowering &TLI, Type *T) { EVT VT = TLI.getValueType(DL, T); if (!VT.isSimple() || !VT.isInteger() || VT.isVector()) |