[clang-tools-extra] r311040 - [clang-tidy] Remove unused static variable.
Chih-Hung Hsieh via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 16 14:00:07 PDT 2017
Author: chh
Date: Wed Aug 16 14:00:06 2017
New Revision: 311040
URL: http://llvm.org/viewvc/llvm-project?rev=311040&view=rev
Log:
[clang-tidy] Remove unused static variable.
Differential Revision: https://reviews.llvm.org/D36761
Modified:
clang-tools-extra/trunk/clang-tidy/android/CloexecSocketCheck.cpp
Modified: clang-tools-extra/trunk/clang-tidy/android/CloexecSocketCheck.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/android/CloexecSocketCheck.cpp?rev=311040&r1=311039&r2=311040&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/android/CloexecSocketCheck.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/android/CloexecSocketCheck.cpp Wed Aug 16 14:00:06 2017
@@ -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()),
More information about the cfe-commits
mailing list