[PATCH] D25412: Move the global variables representing each Target behind accessor function

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 9 16:05:58 PDT 2016


mehdi_amini marked 4 inline comments as done.
mehdi_amini added inline comments.


================
Comment at: lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp:15
+  static Target getTheAVRTarget();
+  return getTheAVRTarget();
 }
----------------
jlebar wrote:
> Same for this function body -- if it's not a typo, it's not clear to me what you're trying to do, or why.
That's the script I used to update all these that went wrong...
(And AVR is experimental so not built by default)


https://reviews.llvm.org/D25412





More information about the llvm-commits mailing list