diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-09-15 14:48:40 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-09-15 14:49:04 +0100 |
commit | 97a23ab28ad91d589e6c0bb5dee6ae78c154da8a (patch) | |
tree | 0133e6314710c0e7232027cfc6f7f6b42596c021 /lldb/test/Shell/ScriptInterpreter/Python/eof.test | |
parent | 65c6ae3b6aceb934a76c5b10b244edeed80e9cac (diff) | |
download | llvm-97a23ab28ad91d589e6c0bb5dee6ae78c154da8a.zip llvm-97a23ab28ad91d589e6c0bb5dee6ae78c154da8a.tar.gz llvm-97a23ab28ad91d589e6c0bb5dee6ae78c154da8a.tar.bz2 |
AMDGPUPrintfRuntimeBinding.cpp - drop unnecessary casts/dyn_casts. NFCI.
GetElementPtrInst::Create returns a GetElementPtrInst* so we don't need to cast. Similarly IntegerType inherits from the Type base class.
Also, I've used auto* in a few places to cleanup the code.
Helps fix some clang-tidy warnings which saw the dyn_casts and warned that these can return null.
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python/eof.test')
0 files changed, 0 insertions, 0 deletions