diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-07-15 23:26:50 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-07-15 23:26:50 +0000 |
commit | 0baa4809a8de135a6a7abe9cd78a86f208c99164 (patch) | |
tree | afe54b76eeaf7870127af77f5247b59ce6716d8d /unittests | |
parent | 46646572f76513e39bcdd0e06c66668ec1caf5bc (diff) |
Move llvm/Support/MDBuilder.h to llvm/MDBuilder.h, to live with
IRBuilder, DIBuilder, etc.
This is the proper layering as MDBuilder can't be used (or implemented)
without the Core Metadata representation.
Patches to Clang and Dragonegg coming up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160237 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/Support/CMakeLists.txt | 1 | ||||
-rw-r--r-- | unittests/VMCore/CMakeLists.txt | 1 | ||||
-rw-r--r-- | unittests/VMCore/InstructionsTest.cpp | 2 | ||||
-rw-r--r-- | unittests/VMCore/MDBuilderTest.cpp (renamed from unittests/Support/MDBuilderTest.cpp) | 4 |
4 files changed, 4 insertions, 4 deletions
diff --git a/unittests/Support/CMakeLists.txt b/unittests/Support/CMakeLists.txt index 6053994d0c..674da35dce 100644 --- a/unittests/Support/CMakeLists.txt +++ b/unittests/Support/CMakeLists.txt @@ -17,7 +17,6 @@ add_llvm_unittest(SupportTests LeakDetectorTest.cpp ManagedStatic.cpp MathExtrasTest.cpp - MDBuilderTest.cpp Path.cpp raw_ostream_test.cpp RegexTest.cpp diff --git a/unittests/VMCore/CMakeLists.txt b/unittests/VMCore/CMakeLists.txt index 5a87605b27..79ee22c186 100644 --- a/unittests/VMCore/CMakeLists.txt +++ b/unittests/VMCore/CMakeLists.txt @@ -8,6 +8,7 @@ set(VMCoreSources ConstantsTest.cpp DominatorTreeTest.cpp InstructionsTest.cpp + MDBuilderTest.cpp MetadataTest.cpp PassManagerTest.cpp ValueMapTest.cpp diff --git a/unittests/VMCore/InstructionsTest.cpp b/unittests/VMCore/InstructionsTest.cpp index a8902d932e..72cdc8b994 100644 --- a/unittests/VMCore/InstructionsTest.cpp +++ b/unittests/VMCore/InstructionsTest.cpp @@ -13,10 +13,10 @@ #include "llvm/IRBuilder.h" #include "llvm/Instructions.h" #include "llvm/LLVMContext.h" +#include "llvm/MDBuilder.h" #include "llvm/Operator.h" #include "llvm/ADT/STLExtras.h" #include "llvm/Analysis/ValueTracking.h" -#include "llvm/Support/MDBuilder.h" #include "llvm/Target/TargetData.h" #include "gtest/gtest.h" diff --git a/unittests/Support/MDBuilderTest.cpp b/unittests/VMCore/MDBuilderTest.cpp index af3f4348ff..847039b837 100644 --- a/unittests/Support/MDBuilderTest.cpp +++ b/unittests/VMCore/MDBuilderTest.cpp @@ -1,4 +1,4 @@ -//===- llvm/unittests/Support/MDBuilderTest.cpp - MDBuilder unit tests ----===// +//===- llvm/unittests/MDBuilderTest.cpp - MDBuilder unit tests ------------===// // // The LLVM Compiler Infrastructure // @@ -8,8 +8,8 @@ //===----------------------------------------------------------------------===// #include "llvm/IRBuilder.h" +#include "llvm/MDBuilder.h" #include "llvm/Operator.h" -#include "llvm/Support/MDBuilder.h" #include "gtest/gtest.h" |