Home
last modified time | relevance | path

Searched refs:use_handle (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/test/Sema/
H A Dattr-handles.cpp5 void (*fp)(int handle [[clang::use_handle("Fuchsia")]]);
6 auto lambda = [](int handle [[clang::use_handle("Fuchsia")]]){}; in __anona4608fcf0102()
12 __attribute__((use_handle("Fuchsia"))) int j(); // expected-warning {{'use_handle' attribute only a…
17 auto lambdat = [](int handle __attribute__((use_handle("Fuchsia"))))
/llvm-project-15.0.7/clang/test/Analysis/
H A Dfuchsia_handle.cpp14 #define ZX_HANDLE_USE __attribute__((use_handle("Fuchsia")))
354 void use_handle(zx_handle_t handle) { in use_handle() function
362 use_handle(b); in test_call_by_value()
374 use_handle(b); in test_call_by_value_leak()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DAttrDocs.td6116 identify the handle with later uses of ``use_handle`` or
6137 parameter is annotated with ``use_handle(tag)`` it is assumed to not to change
6143 zx_status_t zx_port_wait(zx_handle_t handle [[clang::use_handle("zircon")]],
H A DAttr.td3939 let Spellings = [Clang<"use_handle">];