Subversion Repositories QNX 8.QNX8 LLVM/Clang compiler suite

Rev

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

  1. //===- PDBSymbolTypeFunctionSig.h - function signature type info *- 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_PDB_PDBSYMBOLTYPEFUNCTIONSIG_H
  10. #define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEFUNCTIONSIG_H
  11.  
  12. #include "PDBSymbol.h"
  13. #include "PDBTypes.h"
  14.  
  15. namespace llvm {
  16.  
  17. class raw_ostream;
  18. namespace pdb {
  19.  
  20. class PDBSymbolTypeFunctionSig : public PDBSymbol {
  21.   DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::FunctionSig)
  22. public:
  23.   std::unique_ptr<IPDBEnumSymbols> getArguments() const;
  24.  
  25.   void dump(PDBSymDumper &Dumper) const override;
  26.   void dumpRight(PDBSymDumper &Dumper) const override;
  27.   void dumpArgList(raw_ostream &OS) const;
  28.  
  29.   bool isCVarArgs() const;
  30.  
  31.   FORWARD_SYMBOL_METHOD(getCallingConvention)
  32.   FORWARD_SYMBOL_ID_METHOD(getClassParent)
  33.   FORWARD_SYMBOL_ID_METHOD(getUnmodifiedType)
  34.   FORWARD_SYMBOL_METHOD(isConstType)
  35.   FORWARD_SYMBOL_METHOD(getCount)
  36.   FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
  37.   // FORWARD_SYMBOL_METHOD(getObjectPointerType)
  38.   FORWARD_SYMBOL_METHOD(getThisAdjust)
  39.   FORWARD_SYMBOL_ID_METHOD_WITH_NAME(getType, getReturnType)
  40.   FORWARD_SYMBOL_METHOD(isUnalignedType)
  41.   FORWARD_SYMBOL_METHOD(isVolatileType)
  42. };
  43.  
  44. } // namespace pdb
  45. } // namespace llvm
  46.  
  47. #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEFUNCTIONSIG_H
  48.