/* * Copyright (c) 2024, Matthew Olsson * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include class LambdaCapturePluginAction : public clang::PluginASTAction { public: virtual bool ParseArgs(clang::CompilerInstance const&, std::vector const&) override { return true; } virtual std::unique_ptr CreateASTConsumer(clang::CompilerInstance&, llvm::StringRef) override; ActionType getActionType() override { return AddAfterMainAction; } };