forked from OSchip/llvm-project
Apply clang-tidy fixes for readability-identifier-naming in AsyncToLLVM.cpp (NFC)
This commit is contained in:
parent
9595f00510
commit
f65994c9f1
|
@ -349,10 +349,10 @@ public:
|
||||||
coroSize = rewriter.create<LLVM::AddOp>(op->getLoc(), coroSize, coroAlign);
|
coroSize = rewriter.create<LLVM::AddOp>(op->getLoc(), coroSize, coroAlign);
|
||||||
coroSize =
|
coroSize =
|
||||||
rewriter.create<LLVM::SubOp>(op->getLoc(), coroSize, makeConstant(1));
|
rewriter.create<LLVM::SubOp>(op->getLoc(), coroSize, makeConstant(1));
|
||||||
Value NegCoroAlign =
|
Value negCoroAlign =
|
||||||
rewriter.create<LLVM::SubOp>(op->getLoc(), makeConstant(0), coroAlign);
|
rewriter.create<LLVM::SubOp>(op->getLoc(), makeConstant(0), coroAlign);
|
||||||
coroSize =
|
coroSize =
|
||||||
rewriter.create<LLVM::AndOp>(op->getLoc(), coroSize, NegCoroAlign);
|
rewriter.create<LLVM::AndOp>(op->getLoc(), coroSize, negCoroAlign);
|
||||||
|
|
||||||
// Allocate memory for the coroutine frame.
|
// Allocate memory for the coroutine frame.
|
||||||
auto allocFuncOp = LLVM::lookupOrCreateAlignedAllocFn(
|
auto allocFuncOp = LLVM::lookupOrCreateAlignedAllocFn(
|
||||||
|
|
Loading…
Reference in New Issue