Skip to content
automatically apply constexpr where possible
Branch: master
Clone or download
Latest commit 71f539d Jun 27, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
tests only do const variables, expand test02 May 10, 2019
.gitignore git ignore May 7, 2019
CMakeLists.txt Tighten constexpr application rules and introduce rewriting May 7, 2019
LICENSE License and readme updates Jun 24, 2019 Update Jun 27, 2019
main.cpp only do const variables, expand test02 May 10, 2019


A libclang based project to automatically rewrite as much code as possible to be evaluated in constexpr contexts.


mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake --build .


Build a project with a compilation database, run constexpr-everything on the source files.

Read more about the tool at


constexpr-everything is licensed and distributed under the Apache 2.0 license. Contact us if you're looking for an exception to the terms.

You can’t perform that action at this time.