aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-diff/DifferenceEngine.h
AgeCommit message (Collapse)AuthorFilesLines
2010-09-03Quiesce warning about non-virtual d'tor in virtual class.Bill Wendling1-2/+2
llvm-svn: 112991
2010-08-27Fix the msvs 2010 build.Michael J. Spencer1-2/+8
The Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 implements parts of C++0x based on the draft standard. An old version of the draft had a bug that makes std::pair<T1*, T2*>(something, 0) fail to compile. This is because the template<class U, class V> pair(U&& x, V&& y) constructor is selected, even though it later fails to implicitly convert U and V to frist_type and second_type. This has been fixed in n3090, but it seems that Microsoft is not going to update msvc. llvm-svn: 112257
2010-07-29Make the header self-contained and follow #include guidelines.John McCall1-4/+6
llvm-svn: 109774
2010-07-29Add the llvm-diff tool, which performs a relatively naive structuralJohn McCall1-0/+171
diff of a function. There's a lot of cruft in the current version, and it's pretty far from perfect, but it's usable. Currently only capable of comparing functions. Currently ignores metadata. Currently ignores most attributes of functions and instructions. Patches welcome. llvm-svn: 109739