Home
last modified time | relevance | path

Searched refs:Constify (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/flang/include/flang/Common/
H A Dunwrap.h42 using Constify = std::conditional_t<std::is_const_v<B> && !std::is_const_v<A>, variable
51 static auto Unwrap(B &x) -> Constify<A, B> * {
61 static auto Unwrap(B *p) -> Constify<A, B> * {
70 static auto Unwrap(const std::unique_ptr<B> &p) -> Constify<A, B> * {
79 static auto Unwrap(const std::shared_ptr<B> &p) -> Constify<A, B> * {
88 static auto Unwrap(std::optional<B> &x) -> Constify<A, B> * {
97 static auto Unwrap(const std::optional<B> &x) -> Constify<A, B> * {
126 static auto Unwrap(const Reference<B> &ref) -> Constify<A, B> * {
131 static auto Unwrap(const Indirection<B, COPY> &p) -> Constify<A, B> * {
136 static auto Unwrap(const CountedReference<B> &p) -> Constify<A, B> * {
[all …]
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dfold.h56 auto UnwrapConstantValue(EXPR &expr) -> common::Constify<Constant<T>, EXPR> * {
H A Dtools.h172 auto UnwrapExpr(B &x) -> common::Constify<A, B> * {
212 auto UnwrapConvertedExpr(B &x) -> common::Constify<A, B> * {