[PATCH] D41087: [Preprocessor] Implement __is_target_{arch|vendor|os|environment} function-like builtin macros

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 12 10:43:35 PST 2017


arphaman updated this revision to Diff 126581.
arphaman added a comment.
Herald added a subscriber: javed.absar.

- Change error message.
- Take sub arch into account.


https://reviews.llvm.org/D41087

Files:
  include/clang/Lex/Preprocessor.h
  lib/Lex/PPMacroExpansion.cpp
  test/Preprocessor/is_target.c
  test/Preprocessor/is_target_arm.c
  test/Preprocessor/is_target_os_darwin.c
  test/Preprocessor/is_target_unknown.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41087.126581.patch
Type: text/x-patch
Size: 9349 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171212/ec6588cb/attachment.bin>


More information about the cfe-commits mailing list