Skip to content

Commit e0521d6

Browse files
committed
MOve __builtin_is_constant_evaluated in src.cpp
1 parent 87018b2 commit e0521d6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎rules/builtin/src.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,3 @@ int f16(unsigned long x) { return __builtin_clzl(x); }
4040
float f17() { return __builtin_inff(); }
4141

4242
float f18(const char *tagp) { return __builtin_nanf(tagp); }
43-
44-
bool f19() { return __builtin_is_constant_evaluated(); }

‎rules/builtin/src.cpp‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22
// Distributed under the MIT license that can be found in the LICENSE file.
33

44
bool f9(long a, long b, long *r) { return __builtin_mul_overflow(a, b, r); }
5+
56
bool f10(long long a, long long b, long long *r) { return __builtin_mul_overflow(a, b, r); }
7+
8+
bool f19() { return __builtin_is_constant_evaluated(); }

0 commit comments

Comments
 (0)