[clang] [clang][NFC] Fix attribute spelling in comment (PR #206645)

Matthias Wippich via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 29 21:59:44 PDT 2026


https://github.com/Tsche created https://github.com/llvm/llvm-project/pull/206645

This patch fixes a typo/misspelling of the flag_enum attribute in a comment.

>From 156294767a330d1fa6bce3c5ab07bff644e343f6 Mon Sep 17 00:00:00 2001
From: Matthias Wippich <mfwippich at gmail.com>
Date: Tue, 30 Jun 2026 06:57:46 +0200
Subject: [PATCH] [clang][NFC] Fix attribute spelling in comment

---
 clang/include/clang/Sema/Sema.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/include/clang/Sema/Sema.h b/clang/include/clang/Sema/Sema.h
index 2cf16fac83282..c1caa8592a26e 100644
--- a/clang/include/clang/Sema/Sema.h
+++ b/clang/include/clang/Sema/Sema.h
@@ -3572,7 +3572,7 @@ class Sema final : public SemaBase {
   /// correctly named definition after the renamed definition.
   llvm::SmallPtrSet<const NamedDecl *, 4> TypoCorrectedFunctionDefinitions;
 
-  /// A cache of the flags available in enumerations with the flag_bits
+  /// A cache of the flags available in enumerations with the flag_enum
   /// attribute.
   mutable llvm::DenseMap<const EnumDecl *, llvm::APInt> FlagBitsCache;
 



More information about the cfe-commits mailing list