[PATCH] D80846: [llvm-ar] Update error messages and tests as per latest preferred style
Shoaib Meenai via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 29 15:52:41 PDT 2020
smeenai added inline comments.
================
Comment at: llvm/tools/llvm-ar/llvm-ar.cpp:663
if (sys::path::is_absolute(*FileNameOrErr)) {
- NMOrErr->MemberName = Saver.save(sys::path::convert_to_slash(*FileNameOrErr));
+ NMOrErr->MemberName =
+ Saver.save(sys::path::convert_to_slash(*FileNameOrErr));
----------------
I'm guessing this was done by the linter as part of its formatting? It's a valid change, but it shouldn't be part of this diff.
Depending on how people who contribute to llvm-ar (e.g. @MaskRay) feel, we can either commit the formatting changes separately or just undo them (and ignore any lint warnings about them).
================
Comment at: llvm/tools/llvm-ar/llvm-ar.cpp:1032
static void runMRIScript() {
- enum class MRICommand { AddLib, AddMod, Create, CreateThin, Delete, Save, End, Invalid };
+ enum class MRICommand {
+ AddLib,
----------------
Ditto here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80846/new/
https://reviews.llvm.org/D80846
More information about the llvm-commits
mailing list