[PATCH] D135175: [clang] adds `__is_bounded_array` and `__is_unbounded_array` as builtins

Christopher Di Bella via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 4 09:20:52 PDT 2022


cjdb created this revision.
cjdb added a reviewer: aaron.ballman.
Herald added a project: All.
cjdb requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This is information that the compiler already has, and should be exposed
so that the library doesn't need to reimplement the exact same
functionality.

This was originally a part of D116280 <https://reviews.llvm.org/D116280>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135175

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/include/clang/Basic/TokenKinds.def
  clang/lib/Parse/ParseExpr.cpp
  clang/lib/Sema/SemaExprCXX.cpp
  clang/lib/Sema/SemaType.cpp
  clang/test/SemaCXX/type-traits.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135175.465046.patch
Type: text/x-patch
Size: 7833 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221004/9e7c1e64/attachment-0001.bin>


More information about the cfe-commits mailing list