summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/IR/ValueMapTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [C++11] Use 'nullptr'.Craig Topper2014-06-081-2/+2
| | | | llvm-svn: 210442
* [C++11] Now that the users are gone, rip out the duplicated traits from ↵Benjamin Kramer2014-03-071-1/+2
| | | | | | | | type_traits.h Simplify the remaining ones a bit. llvm-svn: 203249
* Replace OwningPtr<T> with std::unique_ptr<T>.Ahmed Charles2014-03-061-3/+2
| | | | | | | | | | This compiles with no changes to clang/lld/lldb with MSVC and includes overloads to various functions which are used by those projects and llvm which have OwningPtr's as parameters. This should allow out of tree projects some time to move. There are also no changes to libs/Target, which should help out of tree targets have time to move, if necessary. llvm-svn: 203083
* [Modules] Move ValueMap to the IR library. While this class does notChandler Carruth2014-03-041-1/+1
| | | | | | | | | | | | 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
* [C++11] Replace LLVM_STATIC_ASSERT with static_assert, we now haveChandler Carruth2014-03-021-2/+1
| | | | | | access to it on all host toolchains. llvm-svn: 202642
* Use LLVM_STATIC_ASSERT rather than a hand-rolled implementation.David Blaikie2014-01-021-2/+2
| | | | llvm-svn: 198330
* Rename 'assert' to something less loaded in CompileAssertHasTypeAlp Toker2014-01-011-1/+1
| | | | | | Suggested by Aaron Ballman. llvm-svn: 198288
* Silence g++ 4.9 build issue in unit testsAlp Toker2014-01-011-1/+2
| | | | | | Stopgap measure until we can just use static_assert(). llvm-svn: 198273
* Rename the VMCore unittest tree to IR. Somehow was missed when doing theChandler Carruth2013-01-071-0/+294
library rename. llvm-svn: 171747
OpenPOWER on IntegriCloud