[PATCH] D10949: A step towards getting libclang tests working on Windows
Doug Gregor
dgregor at apple.com
Mon Jul 6 08:52:19 PDT 2015
doug.gregor added a subscriber: doug.gregor.
doug.gregor requested changes to this revision.
doug.gregor added a reviewer: doug.gregor.
This revision now requires changes to proceed.
It would be fantastic to get these tests running on Windows (and make libclang more usable on Windows in general).
================
Comment at: tools/clang/include/clang-c/BuildSystem.h:92
@@ +91,3 @@
+ */
+CINDEX_LINKAGE void clang_free(char *out_buffer_ptr);
+
----------------
Let's make this more general: make it take a "void *", and be used for anything that the library allocates from the normal heap that must later be freed.
Repository:
rL LLVM
http://reviews.llvm.org/D10949
More information about the cfe-commits
mailing list