Skip to content

Commit aeb051a

Browse files
committed
Correct the documentation category for the 'cleanup' attribute
It was previously classified as a type attribute when it is actually a variable attribute.
1 parent 740f14e commit aeb051a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/Basic/AttrDocs.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7315,7 +7315,7 @@ this usage is debugger-dependent.
73157315
}
73167316

73177317
def CleanupDocs : Documentation {
7318-
let Category = DocCatType;
7318+
let Category = DocCatVariable;
73197319
let Content = [{
73207320
This attribute allows a function to be run when a local variable goes out of
73217321
scope. The attribute takes the identifier of a function with a parameter type

0 commit comments

Comments
 (0)