[PATCH] [-cxx-abi microsoft] Correctly identify Win32 entry points
Nico Rieck
nico.rieck at gmail.com
Fri Sep 13 17:48:57 PDT 2013
================
Comment at: include/clang/AST/Decl.h:1740
@@ +1739,3 @@
+ /// point.
+ bool isMSVCRTEntryPoint() const;
+
----------------
Mingw also knows about WinMain, and you can compile just fine with main/WinMain/DllMain (though DllMain has to be explicitly declared extern "C").
http://llvm-reviews.chandlerc.com/D1683
More information about the cfe-commits
mailing list