[clang] [HLSL] Constant buffer layout struct update (PR #124840)
Joshua Batista via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 7 11:20:31 PST 2025
================
@@ -393,7 +396,7 @@ static FieldDecl *createFieldForHostLayoutStruct(Sema &S, const Type *Ty,
auto *Field = FieldDecl::Create(AST, LayoutStruct, SourceLocation(),
SourceLocation(), II, QT, TSI, nullptr, false,
InClassInitStyle::ICIS_NoInit);
- Field->setAccess(AccessSpecifier::AS_private);
+ Field->setAccess(AccessSpecifier::AS_public);
----------------
bob80905 wrote:
Why should this be public and not private?
https://github.com/llvm/llvm-project/pull/124840
More information about the cfe-commits
mailing list