File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -957,6 +957,8 @@ class CustomAttributeScope final : public ASTScopeImpl {
957957
958958 bool ignoreInDebugInfo () const override { return true ; }
959959
960+ DeclAttribute *getDeclAttr () const { return attr; }
961+
960962private:
961963 void expandAScopeThatDoesNotCreateANewInsertionPoint (ScopeCreator &);
962964
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ DECL_SCOPE_NODE(AbstractFunctionDecl)
5959SCOPE_NODE(ParameterList)
6060DECL_SCOPE_NODE(FunctionBody)
6161DECL_SCOPE_NODE(DefaultArgumentInitializer)
62- SCOPE_NODE (CustomAttribute)
62+ DECL_ATTRIBUTE_SCOPE_NODE (CustomAttribute)
6363DECL_SCOPE_NODE(PatternEntryDecl)
6464DECL_SCOPE_NODE(PatternEntryInitializer)
6565SCOPE_NODE(ConditionalClausePatternUse)
You can’t perform that action at this time.
0 commit comments