[PATCH] D13413: Use MSVC-equivalents of attributes
Aaron Ballman via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 5 05:39:00 PDT 2015
aaron.ballman added a subscriber: aaron.ballman.
================
Comment at: lib/builtins/int_lib.h:47
@@ +46,3 @@
+#define NOINLINE __declspec(noinline)
+#define NORETURN(x) __declspec(noreturn) x
+#define UNUSED
----------------
Please model this macro after LLVM_ATTRIBUTE_NORETURN from Compiler.h. It makes the usage far less ugly.
http://reviews.llvm.org/D13413
More information about the llvm-commits
mailing list