[PATCH] D28349: [Frontend] The macro that describes the Objective-C bool type should be defined in C as well

Doug Gregor via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 5 08:54:01 PST 2017


doug.gregor added a comment.

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D28349





More information about the cfe-commits mailing list