HomeSort by relevance Sort by last modified time
    Searched refs:SHARED_TRYLOCK_FUNCTION (Results 1 - 3 of 3) sorted by null

  /external/clang/test/SemaCXX/
warn-thread-safety-parsing.cpp 14 #define SHARED_TRYLOCK_FUNCTION(...) __attribute__ ((shared_trylock_function(__VA_ARGS__)))
771 #if !__has_attribute(shared_trylock_function)
772 #error "Should support shared_trylock_function attribute"
778 void stf_function() __attribute__((shared_trylock_function)); // \
781 void stf_function_args() SHARED_TRYLOCK_FUNCTION(1, mu2);
783 void stf_function_arg() SHARED_TRYLOCK_FUNCTION(1);
785 int stf_testfn(int y) SHARED_TRYLOCK_FUNCTION(1);
788 int x SHARED_TRYLOCK_FUNCTION(1) = y; // \
789 // expected-warning {{'shared_trylock_function' attribute only applies to functions and methods}
    [all...]
warn-thread-safety-analysis.cpp 17 #define SHARED_TRYLOCK_FUNCTION(...) __attribute__ ((shared_trylock_function(__VA_ARGS__)))
34 bool ReaderTryLock() __attribute__((shared_trylock_function(true)));
    [all...]
  /external/clang/test/PCH/
thread-safety-attrs.cpp 22 #define SHARED_TRYLOCK_FUNCTION(...) __attribute__ ((shared_trylock_function(__VA_ARGS__)))
39 bool ReaderTryLock() __attribute__((shared_trylock_function(true)));

Completed in 188 milliseconds