[PATCH 0/2] add support for the __has_builtin() macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These two patches add support for the feature checking macro
__has_builtin(), like present in clang and which will possibly
be added in some future version of GCC.


This series is available for review & testing in the Git repository at:
  git://github.com/lucvoo/sparse-dev.git has-builtin

and will be soon pushed to the main tree at
  git://github.com/lucvoo/sparse.git master

----
Luc Van Oostenryck (2):
  extract replace_with_bool() from replace_with_defined()
  builtin: add support for __has_builtin()

 builtin.c                             |  2 ++
 ident-list.h                          |  1 +
 lib.c                                 |  1 +
 pre-process.c                         | 47 +++++++++++++++++++++++++--
 symbol.h                              |  1 +
 validation/preprocessor/has-builtin.c | 43 ++++++++++++++++++++++++
 6 files changed, 92 insertions(+), 3 deletions(-)
 create mode 100644 validation/preprocessor/has-builtin.c

-- 
2.17.1

--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux