<div dir="ltr"><div>Hi all,<br><br>I have a clang-plugin that overrides the PluginASTAction::CreateASTConsumer function.  The return type of this function was changed in trunk (r215323) from ASTConsumer* to std::unique_ptr<ASTConsumer>.  I'd like to keep the plugin working for both clang 3.5 and older, and trunk and newer, which means that I somehow need to detect the version of clang from the headers using a preprocessor macro.<br><br></div>Is there a macro supported for this purpose that I can use?<br clear="all"><div><div><br>Thanks!<br>-- <br><div class="gmail_signature"><div dir="ltr">Ehsan<br></div></div>
</div></div></div>