mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
try to fix build bot after b7338fb1a6a464472850211165391983d2c8fdf3
This commit is contained in:
parent
20c58341f7
commit
24b4a03b33
@ -515,10 +515,12 @@ enum PointerStripKind {
|
||||
PSK_InBounds
|
||||
};
|
||||
|
||||
template <PointerStripKind StripKind> static void NoopCallback(const Value *) {}
|
||||
|
||||
template <PointerStripKind StripKind>
|
||||
static const Value *stripPointerCastsAndOffsets(
|
||||
const Value *V,
|
||||
function_ref<void(const Value *)> Func = [](const Value *) {}) {
|
||||
function_ref<void(const Value *)> Func = NoopCallback<StripKind>) {
|
||||
if (!V->getType()->isPointerTy())
|
||||
return V;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user