[PATCH] Make GNUInline consistent with whether we use traditional GNU inline semantics.

Richard Smith richard at metafoo.co.uk
Wed May 13 14:19:53 PDT 2015


`__GNUC_STDC_INLINE__` means C99 inline semantics, which is just as wrong as `__GNUC_GNU_INLINE__` for C++. We have to make a choice between these two to support glibc, and sticking to what g++ does (and what clang previously did) seems like the clear better choice -- the risk of breaking things by making a change here is high, and I don't see that there's any real benefit to changing which lie we tell the user.


http://reviews.llvm.org/D9333

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list