[PATCH] D157727: [clang] Fix copy-and-paste error in CXXRecordDecl tabledef

Christian Blichmann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 11 08:27:24 PDT 2023


cblichmann created this revision.
cblichmann added reviewers: clang, rsmith, zahiraam.
cblichmann added a project: clang.
Herald added a project: All.
cblichmann requested review of this revision.
Herald added a subscriber: cfe-commits.

This change just updates the comment in the tabledef, no change in observable behavior.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157727

Files:
  clang/include/clang/AST/CXXRecordDeclDefinitionBits.def


Index: clang/include/clang/AST/CXXRecordDeclDefinitionBits.def
===================================================================
--- clang/include/clang/AST/CXXRecordDeclDefinitionBits.def
+++ clang/include/clang/AST/CXXRecordDeclDefinitionBits.def
@@ -99,7 +99,7 @@
 /// True when there are protected non-static data members.
 FIELD(HasProtectedFields, 1, NO_MERGE)
 
-/// True when there are private non-static data members.
+/// True when there are public non-static data members.
 FIELD(HasPublicFields, 1, NO_MERGE)
 
 /// True if this class (or any subobject) has mutable fields.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157727.549412.patch
Type: text/x-patch
Size: 588 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230811/abcc1b2e/attachment.bin>


More information about the cfe-commits mailing list