arphaman added a comment.

In https://reviews.llvm.org/D28349#636968, @doug.gregor wrote:

> The "!LangOpts.CPlusPlus" doesn't make sense to me. You're presumably 
> defining this macro in C because the Objective-C runtime is usable from C, 
> but that same logic applies to C++ code. It seems like we should be defining 
> this macro unconditionally.


That's true. I was initially reluctant to define it for C++ as well since this 
macro is available on all platforms, but I guess there's no way around this.


Repository:
  rL LLVM

https://reviews.llvm.org/D28349



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to