[PATCH] D14553: [LLD] Fix Clang-tidy modernize-use-auto warnings, other minor fixes

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 10 14:31:22 PST 2015


ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.

LGTM with a nit.


================
Comment at: lib/ReaderWriter/MachO/StubsPass.cpp:282-283
@@ -289,4 +281,4 @@
           new (_file.allocator()) LazyPointerAtom(_file, _ctx.is64Bit());
-      StubHelperAtom *helper =
+      auto *helper =
           new (_file.allocator()) StubHelperAtom(_file, _stubInfo);
 
----------------
This can fit in one line. Please run clang-format-diff.


Repository:
  rL LLVM

http://reviews.llvm.org/D14553





More information about the llvm-commits mailing list