================
@@ -388,6 +388,40 @@ pointer, but not any provenance of the allocation:
   }];
 }
 
+def WarnUnusedDocs : Documentation {
+  let Category = DocCatType;
+  let Content = [{
+The ``warn_unused`` attribute can be placed on the declaration of a structure 
or union type.
+When the ``-Wunused-variable`` diagnostic is enabled, local variables of types 
which have a non-trivial constructor or destructor are considered "used" by 
virtue of the constructor or destructor invocations involved.
----------------
erichkeane wrote:

Do we not use column-limits in these files?  

https://github.com/llvm/llvm-project/pull/201881
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to