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.
Paths
| Differential D135175
[clang] adds `__is_bounded_array` and `__is_unbounded_array` as builtins ClosedPublic Authored by cjdb on Oct 4 2022, 9:20 AM.
Details
Summary This is information that the compiler already has, and should be exposed This was originally a part of D116280.
Diff Detail
Event Timeline
erichkeane added inline comments.
This revision is now accepted and ready to land.Oct 6 2022, 6:16 AM This revision was landed with ongoing or failed builds.Oct 10 2022, 5:39 PM Closed by commit rGbd3f48eefc11: [clang] adds `__is_bounded_array` and `__is_unbounded_array` as builtins (authored by cjdb). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 466314 clang/docs/LanguageExtensions.rst
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Basic/TokenKinds.def
clang/lib/Parse/ParseDeclCXX.cpp
clang/lib/Parse/ParseExpr.cpp
clang/lib/Sema/SemaExprCXX.cpp
clang/lib/Sema/SemaType.cpp
clang/test/SemaCXX/type-traits.cpp
|
Why also Type.h?