[clang] [CIR][NFC] Fix typo in ComplexRangeKind comment (PR #152535)
Amr Hesham via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 7 08:44:04 PDT 2025
https://github.com/AmrDeveloper created https://github.com/llvm/llvm-project/pull/152535
Fix typo in ComplexRangeKind comment
Catched in https://github.com/llvm/clangir/pull/1779
>From 1f4c7fb76dd14e76a868fd691ad25ee44bc4e795 Mon Sep 17 00:00:00 2001
From: AmrDeveloper <amr96 at programmer.net>
Date: Thu, 7 Aug 2025 17:43:06 +0200
Subject: [PATCH] [CIR][NFC] Fix typo in ComplexRangeKind comment
---
clang/lib/CIR/CodeGen/CIRGenExprComplex.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clang/lib/CIR/CodeGen/CIRGenExprComplex.cpp b/clang/lib/CIR/CodeGen/CIRGenExprComplex.cpp
index c22cf607df7d8..a6b3bb0c37cef 100644
--- a/clang/lib/CIR/CodeGen/CIRGenExprComplex.cpp
+++ b/clang/lib/CIR/CodeGen/CIRGenExprComplex.cpp
@@ -776,7 +776,7 @@ getComplexRangeAttr(LangOptions::ComplexRangeKind range) {
case LangOptions::CX_Basic:
return cir::ComplexRangeKind::Basic;
case LangOptions::CX_None:
- // The default value for ComplexRangeKind is Full is no option is selected
+ // The default value for ComplexRangeKind is Full if no option is selected
return cir::ComplexRangeKind::Full;
}
}
More information about the cfe-commits
mailing list