Skip to content

Commit f08229f

Browse files
committed
[sanitizer] Remove cpplint
As code diverge from Google style we need to add more and more exceptions to suppress conflicts with clang-format and clang-tidy. As this point it does not provide a additional value. Reviewed By: morehouse Differential Revision: https://reviews.llvm.org/D107197
1 parent 3338ef9 commit f08229f

File tree

6 files changed

+0
-6505
lines changed

6 files changed

+0
-6505
lines changed

compiler-rt/cmake/Modules/SanitizerUtils.cmake

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ include(CompilerRTUtils)
33
set(SANITIZER_GEN_DYNAMIC_LIST
44
${COMPILER_RT_SOURCE_DIR}/lib/sanitizer_common/scripts/gen_dynamic_list.py)
55

6-
set(SANITIZER_LINT_SCRIPT
7-
${COMPILER_RT_SOURCE_DIR}/lib/sanitizer_common/scripts/check_lint.sh)
8-
96
if(CMAKE_NM)
107
set(SANITIZER_NM "${CMAKE_NM}")
118
else()
@@ -95,20 +92,3 @@ macro(add_sanitizer_rt_version_list name)
9592
add_custom_target(${name}-version-list ALL
9693
DEPENDS ${vers})
9794
endmacro()
98-
99-
# Add target to check code style for sanitizer runtimes.
100-
if(CMAKE_HOST_UNIX AND NOT OS_NAME MATCHES "OpenBSD")
101-
add_custom_target(SanitizerLintCheck
102-
COMMAND env LLVM_CHECKOUT=${LLVM_MAIN_SRC_DIR} SILENT=1 TMPDIR=
103-
PYTHON_EXECUTABLE=${Python3_EXECUTABLE}
104-
COMPILER_RT=${COMPILER_RT_SOURCE_DIR}
105-
${SANITIZER_LINT_SCRIPT}
106-
DEPENDS ${SANITIZER_LINT_SCRIPT}
107-
COMMENT "Running lint check for sanitizer sources..."
108-
VERBATIM)
109-
else()
110-
add_custom_target(SanitizerLintCheck
111-
COMMAND echo "No lint check")
112-
endif()
113-
set_target_properties(SanitizerLintCheck
114-
PROPERTIES FOLDER "Compiler-RT Misc")

compiler-rt/lib/sanitizer_common/scripts/check_lint.sh

Lines changed: 0 additions & 141 deletions
This file was deleted.

0 commit comments

Comments
 (0)