[llvm] 9099c9e - [JITLink] Fix missing 'static' keyword in unit test.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Thu May 13 21:55:40 PDT 2021


Author: Lang Hames
Date: 2021-05-13T21:44:13-07:00
New Revision: 9099c9ef78c01145f9cf93671081409a8c4c0394

URL: https://github.com/llvm/llvm-project/commit/9099c9ef78c01145f9cf93671081409a8c4c0394
DIFF: https://github.com/llvm/llvm-project/commit/9099c9ef78c01145f9cf93671081409a8c4c0394.diff

LOG: [JITLink] Fix missing 'static' keyword in unit test.

Added: 
    

Modified: 
    llvm/unittests/ExecutionEngine/JITLink/LinkGraphTests.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/ExecutionEngine/JITLink/LinkGraphTests.cpp b/llvm/unittests/ExecutionEngine/JITLink/LinkGraphTests.cpp
index 0ba00bc2a0166..59da9c349ced1 100644
--- a/llvm/unittests/ExecutionEngine/JITLink/LinkGraphTests.cpp
+++ b/llvm/unittests/ExecutionEngine/JITLink/LinkGraphTests.cpp
@@ -57,7 +57,7 @@ static const char BlockContentBytes[] = {
     0x68, 0x65, 0x20, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x20, 0x77, 0x69,
     0x74, 0x68, 0x20, 0x64, 0x65, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x2e, 0x00};
 
-ArrayRef<char> BlockContent(BlockContentBytes);
+static ArrayRef<char> BlockContent(BlockContentBytes);
 
 TEST(LinkGraphTest, Construction) {
   // Check that LinkGraph construction works as expected.


        


More information about the llvm-commits mailing list