PDBSymbolUnknown.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #pragma once
  2. #ifdef __GNUC__
  3. #pragma GCC diagnostic push
  4. #pragma GCC diagnostic ignored "-Wunused-parameter"
  5. #endif
  6. //===- PDBSymbolUnknown.h - unknown symbol type -----------------*- 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_DEBUGINFO_PDB_PDBSYMBOLUNKNOWN_H
  14. #define LLVM_DEBUGINFO_PDB_PDBSYMBOLUNKNOWN_H
  15. #include "PDBSymbol.h"
  16. namespace llvm {
  17. namespace pdb {
  18. class PDBSymbolUnknown : public PDBSymbol {
  19. DECLARE_PDB_SYMBOL_CUSTOM_TYPE(S->getSymTag() == PDB_SymType::None ||
  20. S->getSymTag() >= PDB_SymType::Max)
  21. public:
  22. void dump(PDBSymDumper &Dumper) const override;
  23. };
  24. } // namespace pdb
  25. } // namespace llvm
  26. #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLUNKNOWN_H
  27. #ifdef __GNUC__
  28. #pragma GCC diagnostic pop
  29. #endif