File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -2445,6 +2445,8 @@ class Sema final : public SemaBase {
24452445 ///
24462446 /// \param FD The FieldDecl to apply the attribute to
24472447 /// \param E The count expression on the attribute
2448+ /// \param NestedTypeLevel The pointer indirection level where the attribute
2449+ /// applies
24482450 /// \param CountInBytes If true the attribute is from the "sized_by" family of
24492451 /// attributes. If the false the attribute is from
24502452 /// "counted_by" family of attributes.
@@ -2457,8 +2459,9 @@ class Sema final : public SemaBase {
24572459 /// `counted_by_or_null` attribute.
24582460 ///
24592461 /// \returns false iff semantically valid.
2460- bool CheckCountedByAttrOnField(FieldDecl *FD, Expr *E, unsigned Level,
2461- bool CountInBytes, bool OrNull);
2462+ bool CheckCountedByAttrOnField(FieldDecl *FD, Expr *E,
2463+ unsigned NestedTypeLevel, bool CountInBytes,
2464+ bool OrNull);
24622465
24632466 /// Perform Bounds Safety Semantic checks for assigning to a `__counted_by` or
24642467 /// `__counted_by_or_null` pointer type \param LHSTy.
You can’t perform that action at this time.
0 commit comments