LLVM 23.0.0git
Extensions.cpp
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// Anchor for pass plugins.
10//
11//===----------------------------------------------------------------------===//
12
14
15#define HANDLE_EXTENSION(Ext) \
16 llvm::PassPluginLibraryInfo get##Ext##PluginInfo();
17#include "llvm/Support/Extension.def"
18#undef HANDLE_EXTENSION
19
20namespace llvm::details {
22#define HANDLE_EXTENSION(Ext) \
23 get##Ext##PluginInfo();
24#include "llvm/Support/Extension.def"
25}
26} // namespace llvm::details
void extensions_anchor()