[clang] ed9a552 - [CIR][NFC] Fix typo in ComplexRangeKind comment (#152535)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 7 09:56:02 PDT 2025
Author: Amr Hesham
Date: 2025-08-07T18:55:59+02:00
New Revision: ed9a552563e1c8a95249036195f598990a695a95
URL: https://github.com/llvm/llvm-project/commit/ed9a552563e1c8a95249036195f598990a695a95
DIFF: https://github.com/llvm/llvm-project/commit/ed9a552563e1c8a95249036195f598990a695a95.diff
LOG: [CIR][NFC] Fix typo in ComplexRangeKind comment (#152535)
Fix typo in ComplexRangeKind comment
Catched in https://github.com/llvm/clangir/pull/1779
Added:
Modified:
clang/lib/CIR/CodeGen/CIRGenExprComplex.cpp
Removed:
################################################################################
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