public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Fix formatting
@ 2023-03-05 11:40 Thomas Schwinge
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Schwinge @ 2023-03-05 11:40 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:0cf0a7b8fcf00b653816e981b53ba25ac38607f1
commit 0cf0a7b8fcf00b653816e981b53ba25ac38607f1
Author: Owen Avery <powerboat9.gamer@gmail.com>
Date: Mon Feb 20 16:05:41 2023 -0500
Fix formatting
gcc/rust/ChangeLog:
* hir/tree/rust-hir-pattern.h
(class TupleStructItemsNoRange): Fix formatting.
(class TupleStructItemsRange): Fix formatting.
(class TuplePatternItemsMultiple): Fix formatting.
(class TuplePatternItemsRanged): Fix formatting.
(class SlicePattern): Fix formatting.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diff:
---
gcc/rust/hir/tree/rust-hir-pattern.h | 62 +++++++++++++++++-------------------
1 file changed, 30 insertions(+), 32 deletions(-)
diff --git a/gcc/rust/hir/tree/rust-hir-pattern.h b/gcc/rust/hir/tree/rust-hir-pattern.h
index 1b08ab88a34..ead6cafc903 100644
--- a/gcc/rust/hir/tree/rust-hir-pattern.h
+++ b/gcc/rust/hir/tree/rust-hir-pattern.h
@@ -670,7 +670,7 @@ protected:
struct StructPatternElements
{
private:
- std::vector<std::unique_ptr<StructPatternField> > fields;
+ std::vector<std::unique_ptr<StructPatternField>> fields;
public:
// Returns whether there are any struct pattern fields
@@ -682,7 +682,7 @@ public:
// Constructor for StructPatternElements with both (potentially)
StructPatternElements (
- std::vector<std::unique_ptr<StructPatternField> > fields)
+ std::vector<std::unique_ptr<StructPatternField>> fields)
: fields (std::move (fields))
{}
@@ -712,13 +712,12 @@ public:
static StructPatternElements create_empty ()
{
return StructPatternElements (
- std::vector<std::unique_ptr<StructPatternField> > ());
+ std::vector<std::unique_ptr<StructPatternField>> ());
}
std::string as_string () const;
- std::vector<std::unique_ptr<StructPatternField> > &
- get_struct_pattern_fields ()
+ std::vector<std::unique_ptr<StructPatternField>> &get_struct_pattern_fields ()
{
return fields;
}
@@ -803,10 +802,10 @@ protected:
// Class for non-ranged tuple struct pattern patterns
class TupleStructItemsNoRange : public TupleStructItems
{
- std::vector<std::unique_ptr<Pattern> > patterns;
+ std::vector<std::unique_ptr<Pattern>> patterns;
public:
- TupleStructItemsNoRange (std::vector<std::unique_ptr<Pattern> > patterns)
+ TupleStructItemsNoRange (std::vector<std::unique_ptr<Pattern>> patterns)
: patterns (std::move (patterns))
{}
@@ -837,8 +836,8 @@ public:
void accept_vis (HIRFullVisitor &vis) override;
- std::vector<std::unique_ptr<Pattern> > &get_patterns () { return patterns; }
- const std::vector<std::unique_ptr<Pattern> > &get_patterns () const
+ std::vector<std::unique_ptr<Pattern>> &get_patterns () { return patterns; }
+ const std::vector<std::unique_ptr<Pattern>> &get_patterns () const
{
return patterns;
}
@@ -857,12 +856,12 @@ protected:
// Class for ranged tuple struct pattern patterns
class TupleStructItemsRange : public TupleStructItems
{
- std::vector<std::unique_ptr<Pattern> > lower_patterns;
- std::vector<std::unique_ptr<Pattern> > upper_patterns;
+ std::vector<std::unique_ptr<Pattern>> lower_patterns;
+ std::vector<std::unique_ptr<Pattern>> upper_patterns;
public:
- TupleStructItemsRange (std::vector<std::unique_ptr<Pattern> > lower_patterns,
- std::vector<std::unique_ptr<Pattern> > upper_patterns)
+ TupleStructItemsRange (std::vector<std::unique_ptr<Pattern>> lower_patterns,
+ std::vector<std::unique_ptr<Pattern>> upper_patterns)
: lower_patterns (std::move (lower_patterns)),
upper_patterns (std::move (upper_patterns))
{}
@@ -901,21 +900,21 @@ public:
void accept_vis (HIRFullVisitor &vis) override;
- std::vector<std::unique_ptr<Pattern> > &get_lower_patterns ()
+ std::vector<std::unique_ptr<Pattern>> &get_lower_patterns ()
{
return lower_patterns;
}
- const std::vector<std::unique_ptr<Pattern> > &get_lower_patterns () const
+ const std::vector<std::unique_ptr<Pattern>> &get_lower_patterns () const
{
return lower_patterns;
}
// TODO: seems kinda dodgy. Think of better way.
- std::vector<std::unique_ptr<Pattern> > &get_upper_patterns ()
+ std::vector<std::unique_ptr<Pattern>> &get_upper_patterns ()
{
return upper_patterns;
}
- const std::vector<std::unique_ptr<Pattern> > &get_upper_patterns () const
+ const std::vector<std::unique_ptr<Pattern>> &get_upper_patterns () const
{
return upper_patterns;
}
@@ -1034,10 +1033,10 @@ protected:
// Class representing TuplePattern patterns where there are multiple patterns
class TuplePatternItemsMultiple : public TuplePatternItems
{
- std::vector<std::unique_ptr<Pattern> > patterns;
+ std::vector<std::unique_ptr<Pattern>> patterns;
public:
- TuplePatternItemsMultiple (std::vector<std::unique_ptr<Pattern> > patterns)
+ TuplePatternItemsMultiple (std::vector<std::unique_ptr<Pattern>> patterns)
: patterns (std::move (patterns))
{}
@@ -1073,8 +1072,8 @@ public:
return TuplePatternItemType::MULTIPLE;
}
- std::vector<std::unique_ptr<Pattern> > &get_patterns () { return patterns; }
- const std::vector<std::unique_ptr<Pattern> > &get_patterns () const
+ std::vector<std::unique_ptr<Pattern>> &get_patterns () { return patterns; }
+ const std::vector<std::unique_ptr<Pattern>> &get_patterns () const
{
return patterns;
}
@@ -1091,13 +1090,12 @@ protected:
// Class representing TuplePattern patterns where there are a range of patterns
class TuplePatternItemsRanged : public TuplePatternItems
{
- std::vector<std::unique_ptr<Pattern> > lower_patterns;
- std::vector<std::unique_ptr<Pattern> > upper_patterns;
+ std::vector<std::unique_ptr<Pattern>> lower_patterns;
+ std::vector<std::unique_ptr<Pattern>> upper_patterns;
public:
- TuplePatternItemsRanged (
- std::vector<std::unique_ptr<Pattern> > lower_patterns,
- std::vector<std::unique_ptr<Pattern> > upper_patterns)
+ TuplePatternItemsRanged (std::vector<std::unique_ptr<Pattern>> lower_patterns,
+ std::vector<std::unique_ptr<Pattern>> upper_patterns)
: lower_patterns (std::move (lower_patterns)),
upper_patterns (std::move (upper_patterns))
{}
@@ -1142,20 +1140,20 @@ public:
return TuplePatternItemType::RANGED;
}
- std::vector<std::unique_ptr<Pattern> > &get_lower_patterns ()
+ std::vector<std::unique_ptr<Pattern>> &get_lower_patterns ()
{
return lower_patterns;
}
- const std::vector<std::unique_ptr<Pattern> > &get_lower_patterns () const
+ const std::vector<std::unique_ptr<Pattern>> &get_lower_patterns () const
{
return lower_patterns;
}
- std::vector<std::unique_ptr<Pattern> > &get_upper_patterns ()
+ std::vector<std::unique_ptr<Pattern>> &get_upper_patterns ()
{
return upper_patterns;
}
- const std::vector<std::unique_ptr<Pattern> > &get_upper_patterns () const
+ const std::vector<std::unique_ptr<Pattern>> &get_upper_patterns () const
{
return upper_patterns;
}
@@ -1233,7 +1231,7 @@ protected:
// HIR node representing patterns that can match slices and arrays
class SlicePattern : public Pattern
{
- std::vector<std::unique_ptr<Pattern> > items;
+ std::vector<std::unique_ptr<Pattern>> items;
Location locus;
Analysis::NodeMapping mappings;
@@ -1241,7 +1239,7 @@ public:
std::string as_string () const override;
SlicePattern (Analysis::NodeMapping mappings,
- std::vector<std::unique_ptr<Pattern> > items, Location locus)
+ std::vector<std::unique_ptr<Pattern>> items, Location locus)
: items (std::move (items)), locus (locus), mappings (mappings)
{}
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gcc/devel/rust/master] Fix formatting
@ 2022-06-08 10:46 Thomas Schwinge
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Schwinge @ 2022-06-08 10:46 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:f2941c7d59f8282d2bc3a346277338fa96027e43
commit f2941c7d59f8282d2bc3a346277338fa96027e43
Author: YizhePKU <yizhe@pku.edu.cn>
Date: Fri Apr 9 02:54:10 2021 +0000
Fix formatting
Diff:
---
gcc/rust/parse/rust-parse-impl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/rust/parse/rust-parse-impl.h b/gcc/rust/parse/rust-parse-impl.h
index c14863a5d72..96971697896 100644
--- a/gcc/rust/parse/rust-parse-impl.h
+++ b/gcc/rust/parse/rust-parse-impl.h
@@ -4896,7 +4896,7 @@ Parser<ManagedTokenSource>::parse_trait_type (
const_TokenPtr ident_tok = expect_token (IDENTIFIER);
Identifier ident = ident_tok->get_str ();
- std::vector<std::unique_ptr<AST::TypeParamBound> > bounds;
+ std::vector<std::unique_ptr<AST::TypeParamBound>> bounds;
// parse optional colon
if (lexer.peek_token ()->get_id () == COLON)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gcc/devel/rust/master] Fix formatting
@ 2022-06-08 10:44 Thomas Schwinge
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Schwinge @ 2022-06-08 10:44 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:4b995062b737d0cdf3008f8d84af8526904de3b1
commit 4b995062b737d0cdf3008f8d84af8526904de3b1
Author: Yizhe <yizhe@pku.edu.cn>
Date: Wed Mar 17 09:22:15 2021 +0000
Fix formatting
Diff:
---
gcc/rust/ast/rust-expr.h | 2 +-
gcc/rust/util/rust-make-unique.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/rust/ast/rust-expr.h b/gcc/rust/ast/rust-expr.h
index b535f8f36b1..db900966ce6 100644
--- a/gcc/rust/ast/rust-expr.h
+++ b/gcc/rust/ast/rust-expr.h
@@ -1116,7 +1116,7 @@ public:
inner_attrs (other.inner_attrs), locus (other.locus),
marked_for_strip (other.marked_for_strip)
{
- internal_elements = other.internal_elements->clone_array_elems ();
+ internal_elements = other.internal_elements->clone_array_elems ();
rust_assert (internal_elements != nullptr);
}
diff --git a/gcc/rust/util/rust-make-unique.h b/gcc/rust/util/rust-make-unique.h
index 0c4da2fb6c2..4698b7d966f 100644
--- a/gcc/rust/util/rust-make-unique.h
+++ b/gcc/rust/util/rust-make-unique.h
@@ -7,7 +7,7 @@ namespace Rust {
template <typename T, typename... Ts>
std::unique_ptr<T>
-make_unique (Ts &&...params)
+make_unique (Ts &&... params)
{
return std::unique_ptr<T> (new T (std::forward<Ts> (params)...));
}
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gcc/devel/rust/master] Fix formatting
@ 2022-06-08 10:39 Thomas Schwinge
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Schwinge @ 2022-06-08 10:39 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:6f1035737677dbe38dc6f25f24744fd209d0209c
commit 6f1035737677dbe38dc6f25f24744fd209d0209c
Author: Yizhe <yizhe@pku.edu.cn>
Date: Fri Feb 26 09:14:16 2021 +0000
Fix formatting
Diff:
---
gcc/rust/hir/rust-ast-lower-expr.h | 19 +++++++++-------
gcc/rust/hir/tree/rust-hir-full-test.cc | 40 ++++++++++++++++-----------------
gcc/rust/parse/rust-parse-impl.h | 34 +++++++++++++++-------------
gcc/rust/rust-backend.h | 4 ++--
gcc/rust/rust-gcc.cc | 7 +++---
5 files changed, 54 insertions(+), 50 deletions(-)
diff --git a/gcc/rust/hir/rust-ast-lower-expr.h b/gcc/rust/hir/rust-ast-lower-expr.h
index 6247be09302..7d193709f1a 100644
--- a/gcc/rust/hir/rust-ast-lower-expr.h
+++ b/gcc/rust/hir/rust-ast-lower-expr.h
@@ -402,7 +402,8 @@ public:
= new HIR::ArithmeticOrLogicalExpr (mapping,
std::unique_ptr<HIR::Expr> (lhs),
std::unique_ptr<HIR::Expr> (rhs),
- expr.get_expr_type(), expr.get_locus ());
+ expr.get_expr_type (),
+ expr.get_locus ());
}
void visit (AST::ComparisonExpr &expr)
@@ -419,8 +420,8 @@ public:
translated
= new HIR::ComparisonExpr (mapping, std::unique_ptr<HIR::Expr> (lhs),
- std::unique_ptr<HIR::Expr> (rhs), expr.get_expr_type(),
- expr.get_locus ());
+ std::unique_ptr<HIR::Expr> (rhs),
+ expr.get_expr_type (), expr.get_locus ());
}
void visit (AST::LazyBooleanExpr &expr)
@@ -437,8 +438,8 @@ public:
translated
= new HIR::LazyBooleanExpr (mapping, std::unique_ptr<HIR::Expr> (lhs),
- std::unique_ptr<HIR::Expr> (rhs), expr.get_expr_type(),
- expr.get_locus ());
+ std::unique_ptr<HIR::Expr> (rhs),
+ expr.get_expr_type (), expr.get_locus ());
}
void visit (AST::NegationExpr &expr)
@@ -454,14 +455,16 @@ public:
UNKNOWN_LOCAL_DEFID);
translated
= new HIR::NegationExpr (mapping,
- std::unique_ptr<HIR::Expr> (negated_value), expr.get_expr_type(),
- std::move (outer_attribs), expr.get_locus ());
+ std::unique_ptr<HIR::Expr> (negated_value),
+ expr.get_expr_type (), std::move (outer_attribs),
+ expr.get_locus ());
}
/* Compound assignment expression is compiled away. */
void visit (AST::CompoundAssignmentExpr &expr)
{
- /* First we need to find the corresponding arithmetic or logical operator. */
+ /* First we need to find the corresponding arithmetic or logical operator.
+ */
ArithmeticOrLogicalOperator op;
switch (expr.get_expr_type ())
{
diff --git a/gcc/rust/hir/tree/rust-hir-full-test.cc b/gcc/rust/hir/tree/rust-hir-full-test.cc
index 3ced5370be0..fb5f665d436 100644
--- a/gcc/rust/hir/tree/rust-hir-full-test.cc
+++ b/gcc/rust/hir/tree/rust-hir-full-test.cc
@@ -1687,10 +1687,10 @@ NegationExpr::as_string () const
switch (expr_type)
{
- case NegationOperator::NEGATE:
+ case NegationOperator::NEGATE:
str = "-";
break;
- case NegationOperator::NOT:
+ case NegationOperator::NOT:
str = "!";
break;
default:
@@ -1748,22 +1748,22 @@ ComparisonExpr::as_string () const
switch (expr_type)
{
- case ComparisonOperator::EQUAL:
+ case ComparisonOperator::EQUAL:
str += " == ";
break;
- case ComparisonOperator::NOT_EQUAL:
+ case ComparisonOperator::NOT_EQUAL:
str += " != ";
break;
- case ComparisonOperator::GREATER_THAN:
+ case ComparisonOperator::GREATER_THAN:
str += " > ";
break;
- case ComparisonOperator::LESS_THAN:
+ case ComparisonOperator::LESS_THAN:
str += " < ";
break;
- case ComparisonOperator::GREATER_OR_EQUAL:
+ case ComparisonOperator::GREATER_OR_EQUAL:
str += " >= ";
break;
- case ComparisonOperator::LESS_OR_EQUAL:
+ case ComparisonOperator::LESS_OR_EQUAL:
str += " <= ";
break;
default:
@@ -1832,10 +1832,10 @@ LazyBooleanExpr::as_string () const
switch (expr_type)
{
- case LazyBooleanOperator::LOGICAL_OR:
+ case LazyBooleanOperator::LOGICAL_OR:
str += " || ";
break;
- case LazyBooleanOperator::LOGICAL_AND:
+ case LazyBooleanOperator::LOGICAL_AND:
str += " && ";
break;
default:
@@ -2000,34 +2000,34 @@ ArithmeticOrLogicalExpr::as_string () const
// get operator string
switch (expr_type)
{
- case ArithmeticOrLogicalOperator::ADD:
+ case ArithmeticOrLogicalOperator::ADD:
operator_str = "+";
break;
- case ArithmeticOrLogicalOperator::SUBTRACT:
+ case ArithmeticOrLogicalOperator::SUBTRACT:
operator_str = "-";
break;
- case ArithmeticOrLogicalOperator::MULTIPLY:
+ case ArithmeticOrLogicalOperator::MULTIPLY:
operator_str = "*";
break;
- case ArithmeticOrLogicalOperator::DIVIDE:
+ case ArithmeticOrLogicalOperator::DIVIDE:
operator_str = "/";
break;
- case ArithmeticOrLogicalOperator::MODULUS:
+ case ArithmeticOrLogicalOperator::MODULUS:
operator_str = "%";
break;
- case ArithmeticOrLogicalOperator::BITWISE_AND:
+ case ArithmeticOrLogicalOperator::BITWISE_AND:
operator_str = "&";
break;
- case ArithmeticOrLogicalOperator::BITWISE_OR:
+ case ArithmeticOrLogicalOperator::BITWISE_OR:
operator_str = "|";
break;
- case ArithmeticOrLogicalOperator::BITWISE_XOR:
+ case ArithmeticOrLogicalOperator::BITWISE_XOR:
operator_str = "^";
break;
- case ArithmeticOrLogicalOperator::LEFT_SHIFT:
+ case ArithmeticOrLogicalOperator::LEFT_SHIFT:
operator_str = "<<";
break;
- case ArithmeticOrLogicalOperator::RIGHT_SHIFT:
+ case ArithmeticOrLogicalOperator::RIGHT_SHIFT:
operator_str = ">>";
break;
default:
diff --git a/gcc/rust/parse/rust-parse-impl.h b/gcc/rust/parse/rust-parse-impl.h
index 012564936c6..5cbd8a56b65 100644
--- a/gcc/rust/parse/rust-parse-impl.h
+++ b/gcc/rust/parse/rust-parse-impl.h
@@ -12528,9 +12528,10 @@ Parser<ManagedTokenSource>::left_denotation (
// sum expression - binary infix
/*return parse_binary_plus_expr (tok, std::move (left),
std::move (outer_attrs), restrictions);*/
- return parse_arithmetic_or_logical_expr (
- tok, std::move (left), std::move (outer_attrs),
- ArithmeticOrLogicalOperator::ADD, restrictions);
+ return parse_arithmetic_or_logical_expr (tok, std::move (left),
+ std::move (outer_attrs),
+ ArithmeticOrLogicalOperator::ADD,
+ restrictions);
case MINUS:
// difference expression - binary infix
/*return parse_binary_minus_expr (tok, std::move (left),
@@ -12600,8 +12601,7 @@ Parser<ManagedTokenSource>::left_denotation (
std::move (outer_attrs), restrictions);*/
return parse_comparison_expr (tok, std::move (left),
std::move (outer_attrs),
- ComparisonOperator::EQUAL,
- restrictions);
+ ComparisonOperator::EQUAL, restrictions);
case NOT_EQUAL:
// not equal to expression - binary infix (no associativity)
/*return parse_binary_not_equal_expr (tok, std::move (left),
@@ -12634,17 +12634,19 @@ Parser<ManagedTokenSource>::left_denotation (
/*return parse_binary_greater_equal_expr (tok, std::move (left),
std::move (outer_attrs),
restrictions);*/
- return parse_comparison_expr (
- tok, std::move (left), std::move (outer_attrs),
- ComparisonOperator::GREATER_OR_EQUAL, restrictions);
+ return parse_comparison_expr (tok, std::move (left),
+ std::move (outer_attrs),
+ ComparisonOperator::GREATER_OR_EQUAL,
+ restrictions);
case LESS_OR_EQUAL:
// less than or equal to expression - binary infix (no associativity)
/*return parse_binary_less_equal_expr (tok, std::move (left),
std::move (outer_attrs),
restrictions);*/
- return parse_comparison_expr (
- tok, std::move (left), std::move (outer_attrs),
- ComparisonOperator::LESS_OR_EQUAL, restrictions);
+ return parse_comparison_expr (tok, std::move (left),
+ std::move (outer_attrs),
+ ComparisonOperator::LESS_OR_EQUAL,
+ restrictions);
case OR:
// lazy logical or expression - binary infix
return parse_lazy_or_expr (tok, std::move (left), std::move (outer_attrs),
@@ -12692,9 +12694,10 @@ Parser<ManagedTokenSource>::left_denotation (
* associativity) */
/*return parse_div_assig_expr (tok, std::move (left),
std::move (outer_attrs), restrictions);*/
- return parse_compound_assignment_expr (
- tok, std::move (left), std::move (outer_attrs),
- CompoundAssignmentOperator::DIVIDE, restrictions);
+ return parse_compound_assignment_expr (tok, std::move (left),
+ std::move (outer_attrs),
+ CompoundAssignmentOperator::DIVIDE,
+ restrictions);
case PERCENT_EQ:
/* modulo-assignment expression - binary infix (note right-to-left
* associativity) */
@@ -12901,8 +12904,7 @@ Parser<ManagedTokenSource>::parse_binary_plus_expr (
return std::unique_ptr<AST::ArithmeticOrLogicalExpr> (
new AST::ArithmeticOrLogicalExpr (std::move (left), std::move (right),
- ArithmeticOrLogicalOperator::ADD,
- locus));
+ ArithmeticOrLogicalOperator::ADD, locus));
}
// Parses a binary subtraction expression (with Pratt parsing).
diff --git a/gcc/rust/rust-backend.h b/gcc/rust/rust-backend.h
index cca341dfa81..183f41a3aa7 100644
--- a/gcc/rust/rust-backend.h
+++ b/gcc/rust/rust-backend.h
@@ -379,8 +379,8 @@ public:
// Return an expression for the operation LEFT OP RIGHT.
// Supported values of OP are enumerated in ComparisonOperator.
virtual Bexpression *comparison_expression (ComparisonOperator op,
- Bexpression *left,
- Bexpression *right, Location)
+ Bexpression *left,
+ Bexpression *right, Location)
= 0;
// Return an expression for the operation LEFT OP RIGHT.
diff --git a/gcc/rust/rust-gcc.cc b/gcc/rust/rust-gcc.cc
index a19ddae193d..f8033af35f3 100644
--- a/gcc/rust/rust-gcc.cc
+++ b/gcc/rust/rust-gcc.cc
@@ -300,9 +300,8 @@ public:
Bexpression *left,
Bexpression *right, Location);
- Bexpression *comparison_expression (ComparisonOperator op,
- Bexpression *left, Bexpression *right,
- Location);
+ Bexpression *comparison_expression (ComparisonOperator op, Bexpression *left,
+ Bexpression *right, Location);
Bexpression *lazy_boolean_expression (LazyBooleanOperator op,
Bexpression *left, Bexpression *right,
@@ -1812,7 +1811,7 @@ Gcc_backend::arithmetic_or_logical_expression (ArithmeticOrLogicalOperator op,
// Return an expression for the comparison operation LEFT OP RIGHT.
Bexpression *
Gcc_backend::comparison_expression (ComparisonOperator op, Bexpression *left,
- Bexpression *right, Location location)
+ Bexpression *right, Location location)
{
/* Check if either expression is an error, in which case we return an error
expression. */
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-03-05 11:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-05 11:40 [gcc/devel/rust/master] Fix formatting Thomas Schwinge
-- strict thread matches above, loose matches on Subject: below --
2022-06-08 10:46 Thomas Schwinge
2022-06-08 10:44 Thomas Schwinge
2022-06-08 10:39 Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).