[PATCH] D101462: Make it possible for targets to define their own MCObjectFileInfo
Shafik Yaghmour via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 29 13:53:00 PDT 2021
shafik added inline comments.
================
Comment at: lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp:909
+ new llvm::MCContext(llvm::Triple(triple), asm_info_up.get(),
+ reg_info_up.get(), nullptr, subtarget_info_up.get()));
if (!context_up)
----------------
Please add comments with the names of parameters for constants as documented here: https://llvm.org/docs/CodingStandards.html#comment-formatting
```
new llvm::MCContext(llvm::Triple(triple), asm_info_up.get(),
reg_info_up.get(), /*MOFI=*/nullptr, subtarget_info_up.get()));
```
This applies to a bunch of places, thank you!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101462/new/
https://reviews.llvm.org/D101462
More information about the cfe-commits
mailing list