[PATCH] D87000: [NFC intended] Refactor code for print-changed to facilitate reuse.

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 9 09:46:40 PST 2020


aeubanks added inline comments.


================
Comment at: llvm/lib/Passes/StandardInstrumentations.cpp:308
   }
-  if (Name.empty())
+  if (Name == "")
     Name = " (module)";
----------------
I think I prefer `Name.empty()`, but up to you


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

https://reviews.llvm.org/D87000



More information about the llvm-commits mailing list