[compiler-rt] 2a6b156 - [NFC][Asan] Fix cpplint warnings in tests
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 28 00:33:25 PDT 2020
Author: Vitaly Buka
Date: 2020-10-28T00:32:44-07:00
New Revision: 2a6b156311fd67ea514b37dbcf52bf7f08edb4f2
URL: https://github.com/llvm/llvm-project/commit/2a6b156311fd67ea514b37dbcf52bf7f08edb4f2
DIFF: https://github.com/llvm/llvm-project/commit/2a6b156311fd67ea514b37dbcf52bf7f08edb4f2.diff
LOG: [NFC][Asan] Fix cpplint warnings in tests
Added:
Modified:
compiler-rt/test/asan/TestCases/strcpy-overlap.cpp
compiler-rt/test/asan/TestCases/strncat-overlap.cpp
compiler-rt/test/asan/TestCases/strncpy-overlap.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/asan/TestCases/strcpy-overlap.cpp b/compiler-rt/test/asan/TestCases/strcpy-overlap.cpp
index eefea67b8da8..efd2e6b7521e 100644
--- a/compiler-rt/test/asan/TestCases/strcpy-overlap.cpp
+++ b/compiler-rt/test/asan/TestCases/strcpy-overlap.cpp
@@ -45,4 +45,4 @@ __attribute__((noinline)) void bad_function() {
int main(int argc, char **argv) {
bad_function();
return 0;
-}
\ No newline at end of file
+}
diff --git a/compiler-rt/test/asan/TestCases/strncat-overlap.cpp b/compiler-rt/test/asan/TestCases/strncat-overlap.cpp
index d454b81fbff6..3e3f7ee2723f 100644
--- a/compiler-rt/test/asan/TestCases/strncat-overlap.cpp
+++ b/compiler-rt/test/asan/TestCases/strncat-overlap.cpp
@@ -45,4 +45,4 @@ __attribute__((noinline)) void bad_function() {
int main(int argc, char **argv) {
bad_function();
return 0;
-}
\ No newline at end of file
+}
diff --git a/compiler-rt/test/asan/TestCases/strncpy-overlap.cpp b/compiler-rt/test/asan/TestCases/strncpy-overlap.cpp
index 679dd67e65e2..860fc5d304e0 100644
--- a/compiler-rt/test/asan/TestCases/strncpy-overlap.cpp
+++ b/compiler-rt/test/asan/TestCases/strncpy-overlap.cpp
@@ -45,4 +45,4 @@ __attribute__((noinline)) void bad_function() {
int main(int argc, char **argv) {
bad_function();
return 0;
-}
\ No newline at end of file
+}
More information about the llvm-commits
mailing list