diff options
Diffstat (limited to 'llvm/unittests/Support/StreamingMemoryObjectTest.cpp')
-rw-r--r-- | llvm/unittests/Support/StreamingMemoryObjectTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/Support/StreamingMemoryObjectTest.cpp b/llvm/unittests/Support/StreamingMemoryObjectTest.cpp index 836dfa9084f..cb1520b2edc 100644 --- a/llvm/unittests/Support/StreamingMemoryObjectTest.cpp +++ b/llvm/unittests/Support/StreamingMemoryObjectTest.cpp @@ -11,7 +11,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/Support/StreamingMemoryObject.h" #include "gtest/gtest.h" -#include <string.h> +#include <cstring> using namespace llvm; @@ -65,4 +65,4 @@ TEST(StreamingMemoryObjectTest, getPointer) { EXPECT_TRUE(std::equal(InputBuffer, InputBuffer + 8, O.getPointer(0, 20))); } -} // end namespace +} // end anonymous namespace |