Skip to content

FortranCodeGeneration_locatedNode::requiresParentheses

override to make unary plus/minus expressions have the same precedence as binary plus; everything else remains the same.

Synopsis

Declared in <src/backend/unparser/FortranCodeGeneration/unparseFortran.h>

virtual
bool
requiresParentheses(
    SgExpression* expr,
    SgUnparse_Info& info) override;

Parameters

Name

Description

expr

This class represents the notion of an expression. Expressions

Created with MrDocs