diff options
author | Stephane Moore <mog@google.com> | 2019-10-01 21:18:40 +0000 |
---|---|---|
committer | Stephane Moore <mog@google.com> | 2019-10-01 21:18:40 +0000 |
commit | e4acb971f1ea3f9b0c1e4c0fd1d69b1920c3a9fc (patch) | |
tree | fab4bc2c245b8d4ea310fe84678b76d0acc6f299 /clang-tools-extra/clang-tidy/objc/ObjCTidyModule.cpp | |
parent | 8830975cf6165ee48ce767344761ceaf4c4683d4 (diff) | |
download | llvm-e4acb971f1ea3f9b0c1e4c0fd1d69b1920c3a9fc.zip llvm-e4acb971f1ea3f9b0c1e4c0fd1d69b1920c3a9fc.tar.gz llvm-e4acb971f1ea3f9b0c1e4c0fd1d69b1920c3a9fc.tar.bz2 |
[clang-tidy] Rename objc-avoid-spinlock check to darwin-avoid-spinlock
Summary:
OSSpinLock* are Apple/Darwin functions, but were previously located with ObjC checks as those were most closely tied to Apple platforms before.
Now that there's a specific Darwin module, relocating the check there.
This change was prepared by running rename_check.py.
Contributed By: mwyman
Reviewers: stephanemoore, dmaclach
Reviewed By: stephanemoore
Subscribers: Eugene.Zelenko, mgorny, xazax.hun, cfe-commits
Tags: #clang-tools-extra, #clang, #llvm
Differential Revision: https://reviews.llvm.org/D68148
llvm-svn: 373392
Diffstat (limited to 'clang-tools-extra/clang-tidy/objc/ObjCTidyModule.cpp')
-rw-r--r-- | clang-tools-extra/clang-tidy/objc/ObjCTidyModule.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/clang-tools-extra/clang-tidy/objc/ObjCTidyModule.cpp b/clang-tools-extra/clang-tidy/objc/ObjCTidyModule.cpp index c9b57d5..6991312 100644 --- a/clang-tools-extra/clang-tidy/objc/ObjCTidyModule.cpp +++ b/clang-tools-extra/clang-tidy/objc/ObjCTidyModule.cpp @@ -10,7 +10,6 @@ #include "../ClangTidyModule.h" #include "../ClangTidyModuleRegistry.h" #include "AvoidNSErrorInitCheck.h" -#include "AvoidSpinlockCheck.h" #include "ForbiddenSubclassingCheck.h" #include "MissingHashCheck.h" #include "PropertyDeclarationCheck.h" @@ -27,8 +26,6 @@ public: void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { CheckFactories.registerCheck<AvoidNSErrorInitCheck>( "objc-avoid-nserror-init"); - CheckFactories.registerCheck<AvoidSpinlockCheck>( - "objc-avoid-spinlock"); CheckFactories.registerCheck<ForbiddenSubclassingCheck>( "objc-forbidden-subclassing"); CheckFactories.registerCheck<MissingHashCheck>( |