[PATCH] D157385: [clang][CFG] Cleanup functions

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 15 02:33:46 PDT 2023


tbaeder added inline comments.


================
Comment at: clang/test/Analysis/scopes-cfg-output.cpp:1472
+// CHECK-NEXT:    2:  (CXXConstructExpr, [B1.3], F)
+// CHECK-NEXT:    3: F f __attribute__((cleanup(cleanup_F)));
+// CHECK-NEXT:    4: CleanupFunction (cleanup_F)
----------------
aaronpuchert wrote:
> The test failure in D152504 suggests that this needs to be written as
> ```
> __attribute__((cleanup(cleanup_F))) F f
> ```
> Maybe something changed upstream?
Right, not sure what changed.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157385/new/

https://reviews.llvm.org/D157385



More information about the cfe-commits mailing list