aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorYoungsuk Kim <joseph942010@gmail.com>2023-11-24 19:22:02 -0500
committerGitHub <noreply@github.com>2023-11-24 19:22:02 -0500
commitbc85284273ea1e6efbf7367f736f7982459c652b (patch)
treefb0dd54384ddde386e1336e178f858fb7277d838 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent1a3b14d26152ab7e7352c8e7aa97ec880cdac82d (diff)
downloadllvm-bc85284273ea1e6efbf7367f736f7982459c652b.zip
llvm-bc85284273ea1e6efbf7367f736f7982459c652b.tar.gz
llvm-bc85284273ea1e6efbf7367f736f7982459c652b.tar.bz2
[clang-linker-wrapper] Re-use type returned from 'PointerType::getUnqual(C)' (NFC) (#73374)
Multiple calls to `PointerType::getUnqual(C)`, and calls to `Type::getPointerTo(AddrSpace=0)` on them all result in the same type. Clean them up to re-use the same `PtrTy` variable within function `createRegisterGlobalsFunction()`.
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions