Subversion Repositories QNX 8.QNX8 LLVM/Clang compiler suite

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. //===- TypeSymbolEmitter.h --------------------------------------*- C++ -*-===//
  2. //
  3. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  4. // See https://llvm.org/LICENSE.txt for license information.
  5. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  6. //
  7. //===----------------------------------------------------------------------===//
  8.  
  9. #ifndef LLVM_DEBUGINFO_CODEVIEW_TYPESYMBOLEMITTER_H
  10. #define LLVM_DEBUGINFO_CODEVIEW_TYPESYMBOLEMITTER_H
  11.  
  12. namespace llvm {
  13. class StringRef;
  14.  
  15. namespace codeview {
  16. class TypeIndex;
  17.  
  18. class TypeSymbolEmitter {
  19. private:
  20.   TypeSymbolEmitter(const TypeSymbolEmitter &) = delete;
  21.   TypeSymbolEmitter &operator=(const TypeSymbolEmitter &) = delete;
  22.  
  23. protected:
  24.   TypeSymbolEmitter() {}
  25.  
  26. public:
  27.   virtual ~TypeSymbolEmitter() {}
  28.  
  29. public:
  30.   virtual void writeUserDefinedType(TypeIndex TI, StringRef Name) = 0;
  31. };
  32. }
  33. }
  34.  
  35. #endif
  36.