Home
last modified time | relevance | path

Searched defs:IsActuallyConstantHelper (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/flang/lib/Evaluate/
Dcheck-expression.cpp104 struct IsActuallyConstantHelper { struct
105 template <typename A> bool operator()(const A &) { return false; } in operator ()()
106 template <typename T> bool operator()(const Constant<T> &) { return true; } in operator ()()
107 template <typename T> bool operator()(const Parentheses<T> &x) { in operator ()()
110 template <typename T> bool operator()(const Expr<T> &x) { in operator ()()
113 template <typename A> bool operator()(const A *x) { return x && (*this)(*x); } in operator ()()
114 template <typename A> bool operator()(const std::optional<A> &x) { in operator ()()