aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/ObjectFilePCHContainerReader.cpp
diff options
context:
space:
mode:
authorRamkumar Ramachandra <ramkumar.ramachandra@codasip.com>2025-02-24 19:10:33 +0000
committerGitHub <noreply@github.com>2025-02-24 19:10:33 +0000
commit4ac43b541c067e6b888948900d01521e58a00eca (patch)
treee3f41deeb6e30c57aae3895f44df0b3153488c84 /clang/lib/Serialization/ObjectFilePCHContainerReader.cpp
parentab9cd53b86e84cc2db47d312232de4789c15adc4 (diff)
downloadllvm-4ac43b541c067e6b888948900d01521e58a00eca.zip
llvm-4ac43b541c067e6b888948900d01521e58a00eca.tar.gz
llvm-4ac43b541c067e6b888948900d01521e58a00eca.tar.bz2
[LV] Restrict widest induction type to be IntegerType (NFC) (#128173)
As the name of the function suggests, convertPointerToIntegerType should return an IntegerType instead of a Type, and should only ever be called with integer or ptr type. Fix the callers getWiderType, and addInductionPhi to narrow the type of WidestIndTy to IntegerType, stripping unclear casts. While at it, rename convertPointerToIntegerType and getWiderType for clarity.
Diffstat (limited to 'clang/lib/Serialization/ObjectFilePCHContainerReader.cpp')
0 files changed, 0 insertions, 0 deletions