BitmaskEnum.h 918 B

1234567891011121314151617181920212223242526272829303132333435
  1. #pragma once
  2. #ifdef __GNUC__
  3. #pragma GCC diagnostic push
  4. #pragma GCC diagnostic ignored "-Wunused-parameter"
  5. #endif
  6. //===--- BitmaskEnum.h - wrapper of LLVM's bitmask enum facility-*- 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. //
  14. /// \file
  15. /// Provides LLVM's BitmaskEnum facility to enumeration types declared in
  16. /// namespace clang.
  17. ///
  18. //===----------------------------------------------------------------------===//
  19. #ifndef LLVM_CLANG_BASIC_BITMASKENUM_H
  20. #define LLVM_CLANG_BASIC_BITMASKENUM_H
  21. #include "llvm/ADT/BitmaskEnum.h"
  22. namespace clang {
  23. LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE();
  24. }
  25. #endif
  26. #ifdef __GNUC__
  27. #pragma GCC diagnostic pop
  28. #endif