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.
Differential D137487
[clang][Interp] Start implementing builtin functions tbaeder on Nov 5 2022, 5:13 AM. Authored by
Details 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.
Diff Detail
Event Timeline
Comment Actions Split CallBI out from Call, so we don't need special cases in CheckCallable etc. for builtin functions.
|