Closed karelklic closed 11 years ago
LLVM 3.1 and newer include macros LLVM_VERSION_MAJOR and LLVM_VERSION_MINOR.
We currently define our own macros LLVM_MAJOR and LLVM_MINOR. We should rename them to be the same as the LLVM's macros. We should define them only in LLVM 3.0 and older.
#include <llvm/Config/config.h>
LLVM 3.1 and newer include macros LLVM_VERSION_MAJOR and LLVM_VERSION_MINOR.
We currently define our own macros LLVM_MAJOR and LLVM_MINOR. We should rename them to be the same as the LLVM's macros. We should define them only in LLVM 3.0 and older.