[PATCH] D16751: Enable constexpr on Visual Studio 2015, add support for two equivalent attributes
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 1 08:50:49 PST 2016
rnk added inline comments.
================
Comment at: C:/LLVM/llvm/include/llvm/Support/Compiler.h:128
@@ -127,1 +127,3 @@
+#elif defined(_MSC_VER)
+#define LLVM_ATTRIBUTE_UNUSED_RESULT _Check_return_
#else
----------------
This is provided by sal.h, right? You should probably add an include like this at the top:
#ifdef _MSC_VER
#include <sal.h>
#endif
http://reviews.llvm.org/D16751
More information about the llvm-commits
mailing list