Merge pull request #418 from mmp/master

Fix build with LLVM top-of-tree, fix warnings, remove LLVM 3.0 support
This commit is contained in:
jbrodman
2013-01-08 10:28:02 -08:00
17 changed files with 358 additions and 369 deletions

9
type.h
View File

@@ -40,8 +40,13 @@
#include "ispc.h"
#include "util.h"
#include <llvm/Type.h>
#include <llvm/DerivedTypes.h>
#if defined(LLVM_3_1) || defined(LLVM_3_2)
#include <llvm/Type.h>
#include <llvm/DerivedTypes.h>
#else
#include <llvm/IR/Type.h>
#include <llvm/IR/DerivedTypes.h>
#endif
#include <llvm/ADT/SmallVector.h>
class ConstExpr;