[compiler-rt] a062140 - [NFC] Suppress cpplint warning in test
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 22 20:21:01 PDT 2021
Author: Vitaly Buka
Date: 2021-04-22T20:20:52-07:00
New Revision: a062140a9e1e82515cd84587522794a1a21925c4
URL: https://github.com/llvm/llvm-project/commit/a062140a9e1e82515cd84587522794a1a21925c4
DIFF: https://github.com/llvm/llvm-project/commit/a062140a9e1e82515cd84587522794a1a21925c4.diff
LOG: [NFC] Suppress cpplint warning in test
Added:
Modified:
compiler-rt/test/lsan/TestCases/use_globals_unused.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/lsan/TestCases/use_globals_unused.cpp b/compiler-rt/test/lsan/TestCases/use_globals_unused.cpp
index d2e6b598e02e..8cc53a429a3d 100644
--- a/compiler-rt/test/lsan/TestCases/use_globals_unused.cpp
+++ b/compiler-rt/test/lsan/TestCases/use_globals_unused.cpp
@@ -15,7 +15,7 @@
#ifdef TEST_LIB
void set(char *a) {
- sprintf(a, "hello");
+ strcpy(a, "hello"); // NOLINT
}
#else
More information about the llvm-commits
mailing list