[flang-commits] [flang] [flang] Fix some typos in comments, NFC (PR #192445)

via flang-commits flang-commits at lists.llvm.org
Thu Apr 16 06:17:36 PDT 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-flang-semantics

Author: Krzysztof Parzyszek (kparzysz)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/192445.diff


1 Files Affected:

- (modified) flang/include/flang/Evaluate/match.h (+2-2) 


``````````diff
diff --git a/flang/include/flang/Evaluate/match.h b/flang/include/flang/Evaluate/match.h
index 32a4a7409fba7..dfbfd1b4b64e3 100644
--- a/flang/include/flang/Evaluate/match.h
+++ b/flang/include/flang/Evaluate/match.h
@@ -140,11 +140,11 @@ template <typename... Patterns> struct AnyOfPattern {
 };
 
 /// Matches any input of type Expr<T>
-/// The indent if this pattern is to be a leaf in multi-operand patterns.
+/// The intent of this pattern is to be a leaf in multi-operand patterns.
 template <typename T> //
 struct ExprPattern : public TypePattern<evaluate::Expr<T>> {};
 
-/// Matches evaluate::Expr<T> that contains evaluate::Opreration<OpType>.
+/// Matches evaluate::Expr<T> that contains evaluate::Operation<OpType>.
 template <typename OpType, typename... Ops>
 struct OperationPattern : public TypePattern<OpType> {
 private:

``````````

</details>


https://github.com/llvm/llvm-project/pull/192445


More information about the flang-commits mailing list