[PATCH] D46378: Undef the macros after their use

Eugene Zelenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 3 06:11:48 PDT 2018


Eugene.Zelenko added a comment.

I don't see anything wrong with this change, but will be good idea to wait for code owner approval.



================
Comment at: include/llvm/MC/MCLinkerOptimizationHint.h:80
   }
   return StringRef();
+#undef MCLOHCaseIdToName
----------------
You could return {}.


https://reviews.llvm.org/D46378





More information about the llvm-commits mailing list