diff options
author | Florian Hahn <flo@fhahn.com> | 2022-11-16 22:12:08 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2022-11-16 22:12:08 +0000 |
commit | 32f1c5531be20a925474aeb03162a3277fbe593b (patch) | |
tree | c1240d041fcd228794964c0946f2bc14398219e9 /clang/lib/Basic/SourceManager.cpp | |
parent | 06e972ed91e6d173025dc122d202f546d1a5e8ce (diff) | |
download | llvm-32f1c5531be20a925474aeb03162a3277fbe593b.zip llvm-32f1c5531be20a925474aeb03162a3277fbe593b.tar.gz llvm-32f1c5531be20a925474aeb03162a3277fbe593b.tar.bz2 |
[VPlan] Update VPValue::getDef to return VPRecipeBase, adjust name(NFC)
The return value of getDef is guaranteed to be a VPRecipeBase and all
users can also accept a VPRecipeBase *. Most users actually case to
VPRecipeBase or a specific recipe before using it, so this change
removes a number of redundant casts.
Also rename it to getDefiningRecipe to make the name a bit clearer.
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D136068
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions