diff options
author | Eugene Zelenko <eugene.zelenko@gmail.com> | 2015-11-04 21:37:17 +0000 |
---|---|---|
committer | Eugene Zelenko <eugene.zelenko@gmail.com> | 2015-11-04 21:37:17 +0000 |
commit | d4304d2f9caefe7c684c64cee4c4a0a05f018a17 (patch) | |
tree | a884562e928b7ca6c0d48ad20fc95826ddbaa12e /clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp | |
parent | 0500c70bebacd2685f9d5dff689bb51cc00006f1 (diff) | |
download | bcm5719-llvm-d4304d2f9caefe7c684c64cee4c4a0a05f018a17.tar.gz bcm5719-llvm-d4304d2f9caefe7c684c64cee4c4a0a05f018a17.zip |
Fix some Clang-tidy modernize warnings, other minor fixes.
Differential revision: http://reviews.llvm.org/D14311
llvm-svn: 252081
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp index 426c97dbd4c..28a4a083ea3 100644 --- a/clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp @@ -32,9 +32,9 @@ private: LockState(Kind K) : K(K) {} public: - static LockState getLocked(void) { return LockState(Locked); } - static LockState getUnlocked(void) { return LockState(Unlocked); } - static LockState getDestroyed(void) { return LockState(Destroyed); } + static LockState getLocked() { return LockState(Locked); } + static LockState getUnlocked() { return LockState(Unlocked); } + static LockState getDestroyed() { return LockState(Destroyed); } bool operator==(const LockState &X) const { return K == X.K; |