search for: wutwut

Displaying 1 result from an estimated 1 matches for "wutwut".

Did you mean: cutout
2012 Jul 02
0
[LLVMdev] Preprocessor: output only definedness testing macro's
...implement the following GCC behavior using the Clang libaries. For a simple input file I want to get all the macro's which are actually being tested against in that specific file. The following reproduces the behavior: $ cat > test.c << EOF #ifdef AA #define BLABLA #else #define WUTWUT #endif #ifdef WUTWUT #endif #define X 2 #if X == 2 #define WOT #elif X == 3 #define WOT #else #define FLOP #endif EOF $ cpp -E -dU - < hello.c | egrep "(#undef|#define)" #undef AA #define WUTWUT #define X 2 The -dU option is not implemented in Clang and I'm struggling...