Home
last modified time | relevance | path

Searched refs:Parentheses (Results 1 – 20 of 20) sorted by relevance

/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dexpression.h225 struct Parentheses : public Operation<Parentheses<A>, A, A> { struct
228 using Base = Operation<Parentheses, A, A>; argument
233 struct Parentheses<SomeDerived>
234 : public Operation<Parentheses<SomeDerived>, SomeDerived, SomeDerived> {
238 using Base = Operation<Parentheses, SomeDerived, SomeDerived>;
528 using Operations = std::tuple<Parentheses<Result>, Negate<Result>,
562 using Operations = std::variant<ComplexComponent<KIND>, Parentheses<Result>,
579 using Operations = std::variant<Parentheses<Result>, Negate<Result>,
606 FunctionRef<Result>, Parentheses<Result>, Convert<Result>, Concat<KIND>,
674 using Operations = std::tuple<Convert<Result>, Parentheses<Result>, Not<KIND>,
[all …]
H A Dfold.h61 if (auto *parens{UnwrapExpr<Parentheses<T>>(expr)}) {
H A Dtools.h234 } else if constexpr (std::is_same_v<Ty, Parentheses<ThisResult>> ||
1053 template <typename T> Expr<T> Expand(Parentheses<T> &&x) { in Expand()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dexpression.cpp39 [](const Parentheses<Result> &x) { return x.left().LEN(); }, in LEN()
110 DynamicType Parentheses<SomeDerived>::GetType() const { in GetType()
H A Dcheck-expression.cpp168 template <typename T> bool operator()(const Parentheses<T> &x) { in operator ()()
281 template <typename T> bool operator()(const Parentheses<T> &x) const { in operator ()()
377 template <typename T> Expr<T> ChangeLbounds(Parentheses<T> &&x) { in ChangeLbounds()
H A Dfold-implementation.h1287 } else if (const auto *p{UnwrapExpr<Parentheses<T>>(expr)}) { in AsFlatArrayConstructor()
1694 Expr<T> FoldOperation(FoldingContext &context, Parentheses<T> &&x) { in FoldOperation()
1699 return Expr<T>{Parentheses<T>{Expr<T>{Constant<T>{*value}}}}; in FoldOperation()
1700 } else if (std::holds_alternative<Parentheses<T>>(operand.u)) { in FoldOperation()
1704 return Expr<T>{Parentheses<T>{std::move(operand)}}; in FoldOperation()
H A Dtools.cpp49 return AsGenericExpr(Parentheses<SomeDerived>{std::move(x)}); in Parenthesize()
54 return AsGenericExpr(Parentheses<T>{std::move(y)}); in Parenthesize()
801 template <typename T> bool operator()(const Parentheses<T> &x) const { in operator ()()
H A Dformatting.cpp261 constexpr OperatorSpelling SpellOperator(const Parentheses<A> &) { in SpellOperator()
H A Dfold-integer.cpp87 template <typename T> ConstantSubscripts Get(const Parentheses<T> &x) { in Get()
/llvm-project-15.0.7/flang/lib/Lower/
H A DIterationSpace.cpp110 static unsigned getHashValue(const Fortran::evaluate::Parentheses<T> &x) { in getHashValue()
378 static bool isEqual(const Fortran::evaluate::Parentheses<T> &x, in isEqual()
379 const Fortran::evaluate::Parentheses<T> &y) { in isEqual()
H A DConvertExpr.cpp362 using Parentheses = Fortran::evaluate::Parentheses<T>; in isParenthesizedVariable() typedef
363 if constexpr (Fortran::common::HasMember<Parentheses, ExprVariant>) { in isParenthesizedVariable()
364 if (const auto *parentheses = std::get_if<Parentheses>(&expr.u)) in isParenthesizedVariable()
1393 ExtValue genval(const Fortran::evaluate::Parentheses<A> &op) { in genval()
5287 CC genarr(const Fortran::evaluate::Parentheses<T> &x) { in genarr()
/llvm-project-15.0.7/flang/lib/Parser/
H A Dexpr-parsers.cpp74 construct<Expr>(construct<Expr::Parentheses>(parenthesized(expr))),
H A Dunparse.cpp848 void Unparse(const Expr::Parentheses &x) { Put('('), Walk(x.v), Put(')'); } in Unparse()
/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dexpression.h276 MaybeExpr Analyze(const parser::Expr::Parentheses &);
/llvm-project-15.0.7/flang/include/flang/Parser/
H A Ddump-parse-tree.h296 NODE(Expr, Parentheses) in NODE()
H A Dparse-tree.h1641 struct Parentheses : public IntrinsicUnary { struct
1735 StructureConstructor, common::Indirection<FunctionReference>, Parentheses,
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDiagnosticGroups.td882 def Parentheses : DiagGroup<"parentheses",
1044 def All : DiagGroup<"all", [Most, Parentheses, Switch, SwitchBool,
H A DDiagnosticSemaKinds.td6569 InGroup<Parentheses>;
6577 InGroup<Parentheses>;
7954 InGroup<Parentheses>;
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dexpression.cpp2678 MaybeExpr ExpressionAnalyzer::Analyze(const parser::Expr::Parentheses &x) { in Analyze()
/llvm-project-15.0.7/llvm/docs/
H A DCodingStandards.rst1449 Spaces Before Parentheses