Loading clang/test/Sema/attr-capabilities.c +0 −1 Original line number Diff line number Diff line // RUN: %clang_cc1 -fsyntax-only -Wthread-safety -verify %s typedef int __attribute__((capability("role"))) ThreadRole; typedef int __attribute__((capability("role"))) ThreadRole; struct __attribute__((shared_capability("mutex"))) Mutex {}; struct NotACapability {}; Loading Loading
clang/test/Sema/attr-capabilities.c +0 −1 Original line number Diff line number Diff line // RUN: %clang_cc1 -fsyntax-only -Wthread-safety -verify %s typedef int __attribute__((capability("role"))) ThreadRole; typedef int __attribute__((capability("role"))) ThreadRole; struct __attribute__((shared_capability("mutex"))) Mutex {}; struct NotACapability {}; Loading