We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffaedc2 commit e7d3a4fCopy full SHA for e7d3a4f
llvm/lib/FileCheck/FileCheck.cpp
@@ -690,9 +690,7 @@ Expected<std::unique_ptr<Expression>> Pattern::parseNumericSubstitutionBlock(
690
691
// Parse matching constraint.
692
Expr = Expr.ltrim(SpaceChars);
693
- bool HasParsedValidConstraint = false;
694
- if (Expr.consume_front("=="))
695
- HasParsedValidConstraint = true;
+ bool HasParsedValidConstraint = Expr.consume_front("==");
696
697
// Parse the expression itself.
698
0 commit comments