Hi Dmitri,

2013/5/25 Dmitri Gribenko <[email protected]>:
> Please add tests.  (Tests for these macros should probably go into
> test/Preprocessor/init.c).

Added! (Please refresh)

http://80386.nl/pub/clang-c11-uchar.txt

> Should this be conditional on C11 or C++11?

Though these definitions are only part of C11/C++11, I think it would
be safer to just define them unconditionally. For example, a piece of
code assumes C11, but is not built with -std=c11, it may wrongly
assume !defined(__STDC_MB_MIGHT_NEQ_WC__), which could have disastrous
side-effects.

--
Ed Schouten <[email protected]>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to