[all-commits] [llvm/llvm-project] 8dc139: [clang][docs] document __attribute__((cleanup())) ...

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Thu Jun 1 11:25:55 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8dc13957cb1752b6a90e299d016e09bb98b0df54
  Author: Nick Desaulniers <ndesaulniers at google.com>
  Date:   2023-06-01 (Thu, 01 Jun 2023)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td

  Log Message:
  [clang][docs] document __attribute__((cleanup())) GNU C extension

Provide an example of how to use this extension and more importantly,
document that cleanup functions are run in reverse nested order.

Reviewed By: erichkeane

Differential Revision: https://reviews.llvm.org/D151732

More information about the All-commits mailing list