[compiler-rt] r173920 - [msan] Remove an extra #ifdef.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Wed Jan 30 01:56:11 PST 2013


Author: eugenis
Date: Wed Jan 30 03:56:11 2013
New Revision: 173920

URL: http://llvm.org/viewvc/llvm-project?rev=173920&view=rev
Log:
[msan] Remove an extra #ifdef.

__has_feature is always defined at this point.

Modified:
    compiler-rt/trunk/include/sanitizer/msan_interface.h

Modified: compiler-rt/trunk/include/sanitizer/msan_interface.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/include/sanitizer/msan_interface.h?rev=173920&r1=173919&r2=173920&view=diff
==============================================================================
--- compiler-rt/trunk/include/sanitizer/msan_interface.h (original)
+++ compiler-rt/trunk/include/sanitizer/msan_interface.h Wed Jan 30 03:56:11 2013
@@ -24,8 +24,7 @@ using __sanitizer::u32;
 extern "C" {
 #endif
 
-#if defined(__has_feature) && __has_feature(memory_sanitizer)
-
+#if __has_feature(memory_sanitizer)
   /* Returns a string describing a stack origin.
      Return NULL if the origin is invalid, or is not a stack origin. */
   SANITIZER_INTERFACE_ATTRIBUTE





More information about the llvm-commits mailing list