diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2016-08-11 15:21:21 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2016-08-11 15:21:21 +0000 |
| commit | e3c335cbed945f5473c7f55e9c70125357d0550a (patch) | |
| tree | e5f19149ad6a4f67655f4904cb97a28071b656c9 /llvm/lib/Transforms | |
| parent | 5a470950b98a5b079202963e40ad67520874fc6e (diff) | |
| download | bcm5719-llvm-e3c335cbed945f5473c7f55e9c70125357d0550a.tar.gz bcm5719-llvm-e3c335cbed945f5473c7f55e9c70125357d0550a.zip | |
use auto* with dyn_cast ; NFC
llvm-svn: 278340
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp b/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp index 3b5f92dbb0f..6d800a4c026 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp @@ -2617,8 +2617,7 @@ Instruction *InstCombiner::visitCallSite(CallSite CS) { /// If the callee is a constexpr cast of a function, attempt to move the cast to /// the arguments of the call/invoke. bool InstCombiner::transformConstExprCastCall(CallSite CS) { - Function *Callee = - dyn_cast<Function>(CS.getCalledValue()->stripPointerCasts()); + auto *Callee = dyn_cast<Function>(CS.getCalledValue()->stripPointerCasts()); if (!Callee) return false; // The prototype of thunks are a lie, don't try to directly call such |

