[llvm] r221218 - Remove the END_WITH_NULL macro now that Clang doesn't use it
Reid Kleckner
reid at kleckner.net
Mon Nov 3 17:15:53 PST 2014
Author: rnk
Date: Mon Nov 3 19:15:53 2014
New Revision: 221218
URL: http://llvm.org/viewvc/llvm-project?rev=221218&view=rev
Log:
Remove the END_WITH_NULL macro now that Clang doesn't use it
Modified:
llvm/trunk/include/llvm/Support/Compiler.h
Modified: llvm/trunk/include/llvm/Support/Compiler.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Compiler.h?rev=221218&r1=221217&r2=221218&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Compiler.h (original)
+++ llvm/trunk/include/llvm/Support/Compiler.h Mon Nov 3 19:15:53 2014
@@ -140,10 +140,8 @@
#endif
#if __has_attribute(sentinel) || LLVM_GNUC_PREREQ(3, 0, 0)
-#define END_WITH_NULL __attribute__((sentinel))
#define LLVM_END_WITH_NULL __attribute__((sentinel))
#else
-#define END_WITH_NULL
#define LLVM_END_WITH_NULL
#endif
More information about the llvm-commits
mailing list