aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Analysis/Inputs/system-header-simulator-cxx-std-locks.h
blob: 054dd5405e1be87d55af3a9b60451f5ae6e363f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma clang system_header

namespace std {
struct mutex {
  void lock();
  void unlock();
};

template <typename T> struct lock_guard {
  lock_guard(std::mutex &);
  ~lock_guard();
};
} // namespace std