diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-03-04 11:26:31 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-03-04 11:26:31 +0000 |
commit | a4ea269f15221b266def81bbf62825979ecd6e44 (patch) | |
tree | 6b2e91b41fee36fad4fe98724989da5731d92241 /llvm/unittests | |
parent | 61743af166a9c24d7348f433153634d6ca8c8391 (diff) | |
download | bcm5719-llvm-a4ea269f15221b266def81bbf62825979ecd6e44.tar.gz bcm5719-llvm-a4ea269f15221b266def81bbf62825979ecd6e44.zip |
[Modules] Move ValueMap to the IR library. While this class does not
directly care about the Value class (it is templated so that the key can
be any arbitrary Value subclass), it is in fact concretely tied to the
Value class through the ValueHandle's CallbackVH interface which relies
on the key type being some Value subclass to establish the value handle
chain.
Ironically, the unittest is already in the right library.
llvm-svn: 202824
Diffstat (limited to 'llvm/unittests')
-rw-r--r-- | llvm/unittests/IR/ValueMapTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/IR/ValueMapTest.cpp b/llvm/unittests/IR/ValueMapTest.cpp index 4c8a4a9372d..2e7e5dc4935 100644 --- a/llvm/unittests/IR/ValueMapTest.cpp +++ b/llvm/unittests/IR/ValueMapTest.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// -#include "llvm/ADT/ValueMap.h" +#include "llvm/IR/ValueMap.h" #include "llvm/ADT/OwningPtr.h" #include "llvm/Config/llvm-config.h" #include "llvm/IR/Constants.h" |