diff options
author | Fangrui Song <i@maskray.me> | 2020-09-19 20:41:25 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2020-09-19 20:41:25 -0700 |
commit | 6913812abcd8d10690570decefeaf7c92db12028 (patch) | |
tree | df5fc9993814d9ddfd3fa7a14a5ea1a13d7f3356 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 4f962b0d89b9733c8f051c1039b458c9632f6f88 (diff) | |
download | llvm-6913812abcd8d10690570decefeaf7c92db12028.zip llvm-6913812abcd8d10690570decefeaf7c92db12028.tar.gz llvm-6913812abcd8d10690570decefeaf7c92db12028.tar.bz2 |
Fix some clang-tidy bugprone-argument-comment issues
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index 87c66c0..56c13096 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -347,9 +347,9 @@ void MachineFunction::assignBeginEndSections() { /// Allocate a new MachineInstr. Use this instead of `new MachineInstr'. MachineInstr *MachineFunction::CreateMachineInstr(const MCInstrDesc &MCID, const DebugLoc &DL, - bool NoImp) { + bool NoImplicit) { return new (InstructionRecycler.Allocate<MachineInstr>(Allocator)) - MachineInstr(*this, MCID, DL, NoImp); + MachineInstr(*this, MCID, DL, NoImplicit); } /// Create a new MachineInstr which is a copy of the 'Orig' instruction, |