mirror of
https://forge.sourceware.org/marek/gcc.git
synced 2026-02-21 19:35:36 -05:00
Remove early return in consteval_only_p
This commit is contained in:
@@ -8087,12 +8087,6 @@ consteval_only_p (tree t)
|
||||
if (!flag_reflection)
|
||||
return false;
|
||||
|
||||
/* cp_walk_tree walks template arguments, but
|
||||
std::initializer_list<std::meta::info>::size_type should be fine,
|
||||
or a nullptr constant, and similar. */
|
||||
if (TREE_CODE (t) == INTEGER_CST)
|
||||
return false;
|
||||
|
||||
if (!TYPE_P (t))
|
||||
t = TREE_TYPE (t);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user