[PATCH] D110320: [XCOFF] refactor error reporting.

Qiu Chaofan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 23 19:38:26 PDT 2021


qiucf added a comment.

Can I assume no tests will be affected if this is a refactor patch?



================
Comment at: llvm/lib/Object/XCOFFObjectFile.cpp:46
 
+static inline Error createError(const Twine &Err) {
+  return make_error<StringError>(Err, object_error::parse_failed);
----------------
Seems `inline` here not necessary.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110320/new/

https://reviews.llvm.org/D110320



More information about the llvm-commits mailing list