llvm-for-llvmta/lib/Extensions/Extensions.cpp

16 lines
433 B
C++

#include "llvm/Passes/PassPlugin.h"
#define HANDLE_EXTENSION(Ext) \
llvm::PassPluginLibraryInfo get##Ext##PluginInfo();
#include "llvm/Support/Extension.def"
namespace llvm {
namespace details {
void extensions_anchor() {
#define HANDLE_EXTENSION(Ext) \
get##Ext##PluginInfo();
#include "llvm/Support/Extension.def"
}
}
}