[PATCH] D137487: [clang][Interp] Start implementing builtin functions

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 5 05:13:42 PDT 2022


tbaeder created this revision.
tbaeder added reviewers: aaron.ballman, erichkeane, tahonermann, shafik.
Herald added a project: All.
tbaeder requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Another try at this.

This time, only implement `__builtin_is_constant_evaluated()`.

Unfortunately I can't just use `clang/test/SemaCXX/builtin-is-constant-evaluated.cpp`  because there are some other unsupported expressions in there.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D137487

Files:
  clang/lib/AST/CMakeLists.txt
  clang/lib/AST/Interp/ByteCodeExprGen.cpp
  clang/lib/AST/Interp/Function.h
  clang/lib/AST/Interp/Interp.cpp
  clang/lib/AST/Interp/Interp.h
  clang/lib/AST/Interp/InterpBuiltin.cpp
  clang/test/AST/Interp/builtins.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137487.473418.patch
Type: text/x-patch
Size: 6595 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221105/74c32deb/attachment.bin>


More information about the cfe-commits mailing list