[compiler-rt] 619ecba - [NFC] Fix cpplint warning

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 22 19:05:52 PDT 2021


Author: Vitaly Buka
Date: 2021-04-22T19:05:20-07:00
New Revision: 619ecba5bcbf7ccbfd00daf7f048e34cb1fa7c14

URL: https://github.com/llvm/llvm-project/commit/619ecba5bcbf7ccbfd00daf7f048e34cb1fa7c14
DIFF: https://github.com/llvm/llvm-project/commit/619ecba5bcbf7ccbfd00daf7f048e34cb1fa7c14.diff

LOG: [NFC] Fix cpplint warning

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 78d6260712c1..d2e6b598e02e 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) {
-  strcpy(a, "hello");
+  sprintf(a, "hello");
 }
 
 #else


        


More information about the llvm-commits mailing list