summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Extensions/Extensions.cpp
blob: 2fe537f91876adeadca4163f132e38f0ee17f49c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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)                                                  \
			static auto Ext = get##Ext##PluginInfo();
#include "llvm/Support/Extension.def"
		}
	}
}
OpenPOWER on IntegriCloud