Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix path of included header IRBuilder.h

As usual this file has moved around from version to version.
  • Loading branch information...
commit 9dfc638edf3003da75a2e42d806a2ebbfe33da20 1 parent 1bc5dad
@redstar redstar authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 gen/llvmcompat.cpp
View
5 gen/llvmcompat.cpp
@@ -1,10 +1,15 @@
+
#include "gen/llvmcompat.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/ADT/Triple.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Function.h"
#include "llvm/Module.h"
+#if LDC_LLVM_VER >= 302
+#include "llvm/IRBuilder.h"
+#else
#include "llvm/Support/IRBuilder.h"
+#endif
#include <string>
#if LDC_LLVM_VER == 300
Please sign in to comment.
Something went wrong with that request. Please try again.