]> granicus.if.org Git - llvm/commit
[Clang Interpreter] Initial patch for the constexpr interpreter
authorNandor Licker <n@ndor.email>
Wed, 4 Sep 2019 05:49:41 +0000 (05:49 +0000)
committerNandor Licker <n@ndor.email>
Wed, 4 Sep 2019 05:49:41 +0000 (05:49 +0000)
commit358cb2c3f34def6a9749b90c220330f9fad69b0a
tree7ce2f62b4bebd0a902c28d26dfe389da883dd29e
parentf579401e48382590a191a3756556959c43ba41ca
[Clang Interpreter] Initial patch for the constexpr interpreter

Summary:
This patch introduces the skeleton of the constexpr interpreter,
capable of evaluating a simple constexpr functions consisting of
if statements. The interpreter is described in more detail in the
RFC. Further patches will add more features.

Reviewers: Bigcheese, jfb, rsmith

Subscribers: bruno, uenoku, ldionne, Tyker, thegameg, tschuett, dexonsmith, mgorny, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D64146

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370839 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/MathExtras.h
utils/gn/secondary/clang/lib/AST/BUILD.gn
utils/gn/secondary/clang/lib/AST/Interp/BUILD.gn [new file with mode: 0644]
utils/gn/secondary/clang/utils/TableGen/BUILD.gn