Daniel Dunbar
5d8165435d
Fix a compile warning.
...
llvm-svn: 71993
2009-05-18 03:44:24 +00:00
Dan Gohman
745ad4486e
Apply Jeffrey Yasskin's CallbackVH patch, with minor tweaks from me
...
to make the copy constructor and destructor protected, and corresponding
adjustments to the unittests.
llvm-svn: 70644
2009-05-02 21:10:48 +00:00
Jeffrey Yasskin
41f2477a50
Add tests for WeakVH and AssertingVH. These pointed out that the overloads for
...
the comparison operators were not only unnecessary in the presence of the
implicit conversion; they caused ambiguous overload errors. So I deleted them.
llvm-svn: 70243
2009-04-27 20:32:07 +00:00
Chris Lattner
abd9bc89c5
Add a new TypeBuilder helper class, which eases making LLVM IR types.
...
Patch by Jeffrey Yasskin!
llvm-svn: 70084
2009-04-25 22:14:04 +00:00
Bill Wendling
66b3fffa60
Make the constants fit.
...
llvm-svn: 68258
2009-04-01 22:44:18 +00:00
Misha Brukman
1757a810ce
Added tests for math utility functions; fixed another test's header comment.
...
llvm-svn: 68249
2009-04-01 21:36:40 +00:00
Misha Brukman
5182b758a0
Renamed unittest files to have a consistent {Tt}est suffix.
...
llvm-svn: 67326
2009-03-19 19:09:48 +00:00
Daniel Dunbar
af41991c8f
Minimal raw_ostream unit tests
...
llvm-svn: 67083
2009-03-17 16:14:59 +00:00