summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/android/AndroidTidyModule.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-08-10 21:21:15 +0000
committerReid Kleckner <rnk@google.com>2017-08-10 21:21:15 +0000
commit8d4d57035fd50c36d050585d22b50171c49fc6d9 (patch)
treeccdf78dc0f195d01def6c49d57ed64ff9ac8e563 /clang-tools-extra/clang-tidy/android/AndroidTidyModule.cpp
parent6be1ed05c7a7e1e7a812f037b660ec693c5c1ca9 (diff)
downloadbcm5719-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.cpp3
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");
}
OpenPOWER on IntegriCloud