]> granicus.if.org Git - llvm/commit
[Clang Interpreter] Initial patch for the constexpr interpreter
authorNandor Licker <n@ndor.email>
Mon, 2 Sep 2019 10:38:08 +0000 (10:38 +0000)
committerNandor Licker <n@ndor.email>
Mon, 2 Sep 2019 10:38:08 +0000 (10:38 +0000)
commit0ee50837eb19cf64ef9c495ad0ca7900d6437b9f
treecfdf024f984ebfd62cfbc2384f311ac99513d9ac
parentd4cdd8c187fc512c853f8e5371f84b68db49c69c
[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@370636 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