Appeasing an MSVC compile warning about "and"; NFC.
authorAaron Ballman <aaron@aaronballman.com>
Thu, 23 Oct 2014 21:59:34 +0000 (21:59 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 23 Oct 2014 21:59:34 +0000 (21:59 +0000)
llvm-svn: 220519

compiler-rt/lib/asan/asan_report.cc

index 27f1d34..b42d9bc 100644 (file)
@@ -441,7 +441,7 @@ bool DescribeAddressIfStack(uptr addr, uptr access_size) {
   // especially given that the alloca may be from entirely different place
   // (e.g. use-after-scope, or different thread's stack).
   StackTrace alloca_stack;
-#if defined(__powerpc64__) and defined(__BIG_ENDIAN__)
+#if defined(__powerpc64__) && defined(__BIG_ENDIAN__)
   // On PowerPC64 ELFv1, the address of a function actually points to a
   // three-doubleword data structure with the first field containing
   // the address of the function's code.