[libcxx-commits] [libcxx] 9cad090 - [libc++] [test] Don't nasty-macro `__opt` yet; we actually use that one.

Arthur O'Dwyer via libcxx-commits libcxx-commits at lists.llvm.org
Sat May 1 07:13:29 PDT 2021


Author: Arthur O'Dwyer
Date: 2021-05-01T10:11:46-04:00
New Revision: 9cad090e10e439bf66f0fc5ff1b7fbe1a436221c

URL: https://github.com/llvm/llvm-project/commit/9cad090e10e439bf66f0fc5ff1b7fbe1a436221c
DIFF: https://github.com/llvm/llvm-project/commit/9cad090e10e439bf66f0fc5ff1b7fbe1a436221c.diff

LOG: [libc++] [test] Don't nasty-macro `__opt` yet; we actually use that one.

This reverts another of the macros just added in D101613, because it turns out
that the <optional> and <filesystem> headers use the identifier __opt.

Added: 
    

Modified: 
    libcxx/test/support/nasty_macros.h

Removed: 
    


################################################################################
diff  --git a/libcxx/test/support/nasty_macros.h b/libcxx/test/support/nasty_macros.h
index 9aa496bd02e5..f9e8cc694eba 100644
--- a/libcxx/test/support/nasty_macros.h
+++ b/libcxx/test/support/nasty_macros.h
@@ -61,7 +61,6 @@
 #define __in NASTY_MACRO
 #define __inout NASTY_MACRO
 #define __nz NASTY_MACRO
-#define __opt NASTY_MACRO
 #define __out NASTY_MACRO
 #define __part NASTY_MACRO
 #endif


        


More information about the libcxx-commits mailing list