[PATCH] D35103: Expand clang-interpreter with example of throwing in and from the JIT for Windows64.

Lang Hames via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 25 11:48:40 PDT 2017


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

Otherwise this looks good to me.



================
Comment at: examples/clang-interpreter/CMakeLists.txt:73
+    set_property(TARGET ${TARGET} PROPERTY COMPILE_FLAGS ${editedFlags})
+    #message("COMPILE_FLAGS: '${addedFlags}' '${editedFlags}'")
+
----------------
These debugging messages (this and the one below) should probably be stripped.


================
Comment at: examples/clang-interpreter/Invoke.h:10
+
+#pragma once
+
----------------
I believe you should use include guards in LLVM headers. Pragma once should work, but I don't think it's standard (and it doesn't seem to be used anywhere else in the codebase).


================
Comment at: examples/clang-interpreter/Manager.h:10
+
+#pragma once
+
----------------
Ditto here.


https://reviews.llvm.org/D35103





More information about the cfe-commits mailing list