Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Lexer / Inputs / pedantic-macro-interplay.h
blobd33cd84979a329cc0d96def2a46097ef8f163fcf
1 #define UNSAFE_MACRO 1
2 #pragma clang restrict_expansion(UNSAFE_MACRO, "Don't use this!")
3 // not-expected-warning@+1{{macro 'UNSAFE_MACRO' has been marked as unsafe for use in headers: Don't use this!}}
4 #pragma clang deprecated(UNSAFE_MACRO, "Don't use this!")
6 #define UNSAFE_MACRO_2 1
7 #pragma clang deprecated(UNSAFE_MACRO_2, "Don't use this!")
8 // not-expected-warning@+1{{macro 'UNSAFE_MACRO_2' has been marked as deprecated: Don't use this!}}
9 #pragma clang restrict_expansion(UNSAFE_MACRO_2, "Don't use this!")