diff options
author | Reid Kleckner <rnk@google.com> | 2017-08-10 21:21:15 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2017-08-10 21:21:15 +0000 |
commit | 8d4d57035fd50c36d050585d22b50171c49fc6d9 (patch) | |
tree | ccdf78dc0f195d01def6c49d57ed64ff9ac8e563 /clang-tools-extra/clang-tidy/android/AndroidTidyModule.cpp | |
parent | 6be1ed05c7a7e1e7a812f037b660ec693c5c1ca9 (diff) | |
download | bcm5719-llvm-8d4d57035fd50c36d050585d22b50171c49fc6d9.tar.gz bcm5719-llvm-8d4d57035fd50c36d050585d22b50171c49fc6d9.zip |
Revert "[clang-tidy] Refactor the code and add a close-on-exec check on memfd_create() in Android module."
This reverts commit r310630.
The new code broke on Windows and was untested. On Linux, it was
selecting the "int" overload of operator<<, which definitely does not
print the right thing when fed a "Mode" char.
llvm-svn: 310661
Diffstat (limited to 'clang-tools-extra/clang-tidy/android/AndroidTidyModule.cpp')
-rw-r--r-- | clang-tools-extra/clang-tidy/android/AndroidTidyModule.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/clang-tools-extra/clang-tidy/android/AndroidTidyModule.cpp b/clang-tools-extra/clang-tidy/android/AndroidTidyModule.cpp index 729047ee35e..119f3c0db8b 100644 --- a/clang-tools-extra/clang-tidy/android/AndroidTidyModule.cpp +++ b/clang-tools-extra/clang-tidy/android/AndroidTidyModule.cpp @@ -12,7 +12,6 @@ #include "../ClangTidyModuleRegistry.h" #include "CloexecCreatCheck.h" #include "CloexecFopenCheck.h" -#include "CloexecMemfdCreateCheck.h" #include "CloexecOpenCheck.h" #include "CloexecSocketCheck.h" @@ -28,8 +27,6 @@ public: void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { CheckFactories.registerCheck<CloexecCreatCheck>("android-cloexec-creat"); CheckFactories.registerCheck<CloexecFopenCheck>("android-cloexec-fopen"); - CheckFactories.registerCheck<CloexecMemfdCreateCheck>( - "android-cloexec-memfd-create"); CheckFactories.registerCheck<CloexecOpenCheck>("android-cloexec-open"); CheckFactories.registerCheck<CloexecSocketCheck>("android-cloexec-socket"); } |