aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/clang-tidy/android/CloexecSocketCheck.cpp
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-08-16 21:00:06 +0000
committerChih-Hung Hsieh <chh@google.com>2017-08-16 21:00:06 +0000
commit2414429962a6625058ce86ccf4e64bb9821b14fb (patch)
tree03af34550378e262e7592a46b4ed0c0bab5bc86f /clang-tools-extra/clang-tidy/android/CloexecSocketCheck.cpp
parent4552e9de9f3cd4cf4ffa9746ff865c88e2b1db59 (diff)
downloadllvm-2414429962a6625058ce86ccf4e64bb9821b14fb.zip
llvm-2414429962a6625058ce86ccf4e64bb9821b14fb.tar.gz
llvm-2414429962a6625058ce86ccf4e64bb9821b14fb.tar.bz2
[clang-tidy] Remove unused static variable.
Differential Revision: https://reviews.llvm.org/D36761 llvm-svn: 311040
Diffstat (limited to 'clang-tools-extra/clang-tidy/android/CloexecSocketCheck.cpp')
-rw-r--r--clang-tools-extra/clang-tidy/android/CloexecSocketCheck.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang-tools-extra/clang-tidy/android/CloexecSocketCheck.cpp b/clang-tools-extra/clang-tidy/android/CloexecSocketCheck.cpp
index 6dcc4b6..5bcfbcb 100644
--- a/clang-tools-extra/clang-tidy/android/CloexecSocketCheck.cpp
+++ b/clang-tools-extra/clang-tidy/android/CloexecSocketCheck.cpp
@@ -17,8 +17,6 @@ namespace clang {
namespace tidy {
namespace android {
-static constexpr const char *SOCK_CLOEXEC = "SOCK_CLOEXEC";
-
void CloexecSocketCheck::registerMatchers(MatchFinder *Finder) {
registerMatchersImpl(Finder,
functionDecl(isExternC(), returns(isInteger()),