ToolExecutorPluginRegistry.h 939 B

12345678910111213141516171819202122232425262728293031323334
  1. #pragma once
  2. #ifdef __GNUC__
  3. #pragma GCC diagnostic push
  4. #pragma GCC diagnostic ignored "-Wunused-parameter"
  5. #endif
  6. //===- ToolExecutorPluginRegistry.h -----------------------------*- C++ -*-===//
  7. //
  8. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  9. // See https://llvm.org/LICENSE.txt for license information.
  10. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  11. //
  12. //===----------------------------------------------------------------------===//
  13. #ifndef LLVM_CLANG_TOOLING_TOOLEXECUTORPLUGINREGISTRY_H
  14. #define LLVM_CLANG_TOOLING_TOOLEXECUTORPLUGINREGISTRY_H
  15. #include "clang/Tooling/Execution.h"
  16. #include "llvm/Support/Registry.h"
  17. namespace clang {
  18. namespace tooling {
  19. using ToolExecutorPluginRegistry = llvm::Registry<ToolExecutorPlugin>;
  20. } // namespace tooling
  21. } // namespace clang
  22. #endif // LLVM_CLANG_TOOLING_TOOLEXECUTORPLUGINREGISTRY_H
  23. #ifdef __GNUC__
  24. #pragma GCC diagnostic pop
  25. #endif