| ... | @@ -5,15 +5,6 @@ | ... | @@ -5,15 +5,6 @@ |
| 5 | * See http://opensource.org/licenses/MIT | 5 | * See http://opensource.org/licenses/MIT |
| 6 | */ | 6 | */ |
| 7 | | 7 | |
| 8 | // This must go before all includes. | | |
| 9 | #include "config.h" | | |
| 10 | #if defined(ZIG_LLVM_OLD_CXX_ABI) | | |
| 11 | #define _GLIBCXX_USE_CXX11_ABI 0 | | |
| 12 | #endif | | |
| 13 | | | |
| 14 | | | |
| 15 | #include "zig_llvm.hpp" | | |
| 16 | | | |
| 17 | | 8 | |
| 18 | /* | 9 | /* |
| 19 | * The point of this file is to contain all the LLVM C++ API interaction so that: | 10 | * The point of this file is to contain all the LLVM C++ API interaction so that: |
| ... | @@ -22,6 +13,8 @@ | ... | @@ -22,6 +13,8 @@ |
| 22 | * 3. Prevent C++ from infecting the rest of the project. | 13 | * 3. Prevent C++ from infecting the rest of the project. |
| 23 | */ | 14 | */ |
| 24 | | 15 | |
| | 16 | #include "zig_llvm.hpp" |
| | 17 | |
| 25 | #include <llvm/Analysis/TargetLibraryInfo.h> | 18 | #include <llvm/Analysis/TargetLibraryInfo.h> |
| 26 | #include <llvm/Analysis/TargetTransformInfo.h> | 19 | #include <llvm/Analysis/TargetTransformInfo.h> |
| 27 | #include <llvm/IR/DIBuilder.h> | 20 | #include <llvm/IR/DIBuilder.h> |