[#LLVM_PLUGIN_API_VERSION]
= LLVM&lowbar;PLUGIN&lowbar;API&lowbar;VERSION
:mrdocs:

macro LLVM&lowbar;PLUGIN&lowbar;API&lowbar;VERSION Identifies the API version understood by this plugin&period;

== Synopsis

Declared in `&lt;llvm&sol;Plugins&sol;PassPlugin&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
#define LLVM&lowbar;PLUGIN&lowbar;API&lowbar;VERSION

----

== Description

When a plugin is loaded, the driver will check it&apos;s supported plugin version against that of the plugin&period; A mismatch is an error&period; The supported version will be incremented for ABI&hyphen;breaking changes to the `PassPluginLibraryInfo` struct, i&period;e&period; when callbacks are added, removed, or reordered&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
