[clang] [NFC][clang] Fix typo in Typebase.h (PR #175163)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 9 04:56:57 PST 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Yexuan Xiao (YexuanXiao)
<details>
<summary>Changes</summary>
I introduced this typo at #<!-- -->149613, thank you to @<!-- -->zyn0217 for spotting this issue.
---
Full diff: https://github.com/llvm/llvm-project/pull/175163.diff
1 Files Affected:
- (modified) clang/include/clang/AST/TypeBase.h (+2-2)
``````````diff
diff --git a/clang/include/clang/AST/TypeBase.h b/clang/include/clang/AST/TypeBase.h
index b0fdf178ab3cc..279b75f14d7b8 100644
--- a/clang/include/clang/AST/TypeBase.h
+++ b/clang/include/clang/AST/TypeBase.h
@@ -2284,7 +2284,7 @@ class alignas(TypeAlignment) Type : public ExtQualsTypeCommonBase {
Last = PtrdiffT
};
- class PresefinedSugarTypeBitfields {
+ class PredefinedSugarTypeBitfields {
friend class PredefinedSugarType;
LLVM_PREFERRED_TYPE(TypeBitfields)
@@ -2332,7 +2332,7 @@ class alignas(TypeAlignment) Type : public ExtQualsTypeCommonBase {
TemplateSpecializationTypeBitfields TemplateSpecializationTypeBits;
PackExpansionTypeBitfields PackExpansionTypeBits;
CountAttributedTypeBitfields CountAttributedTypeBits;
- PresefinedSugarTypeBitfields PredefinedSugarTypeBits;
+ PredefinedSugarTypeBitfields PredefinedSugarTypeBits;
};
private:
``````````
</details>
https://github.com/llvm/llvm-project/pull/175163
More information about the cfe-commits
mailing list