[PATCH] D52141: Thread safety analysis: Run more tests with capability attributes [NFC]
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 17 07:58:04 PDT 2018
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM, with a minor formatting nit.
================
Comment at: test/SemaCXX/thread-safety-annotations.h:29
+#define PT_GUARDED_VAR __attribute__((pt_guarded_var))
+// Capabilities only
+#define EXCLUSIVE_UNLOCK_FUNCTION(...) __attribute__((release_capability(__VA_ARGS__)))
----------------
Can you add another newline above this comment, to fit my sense of aesthetics? :-P
Repository:
rC Clang
https://reviews.llvm.org/D52141
More information about the cfe-commits
mailing list