Line data Source code
1 : //===- PDBSymbolTypeFunctionSig.h - function signature type info *- C++ -*-===//
2 : //
3 : // The LLVM Compiler Infrastructure
4 : //
5 : // This file is distributed under the University of Illinois Open Source
6 : // License. See LICENSE.TXT for details.
7 : //
8 : //===----------------------------------------------------------------------===//
9 :
10 : #ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEFUNCTIONSIG_H
11 : #define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEFUNCTIONSIG_H
12 :
13 : #include "PDBSymbol.h"
14 : #include "PDBTypes.h"
15 :
16 : namespace llvm {
17 :
18 : class raw_ostream;
19 : namespace pdb {
20 :
21 : class PDBSymbolTypeFunctionSig : public PDBSymbol {
22 272 : DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::FunctionSig)
23 : public:
24 : std::unique_ptr<IPDBEnumSymbols> getArguments() const;
25 :
26 : void dump(PDBSymDumper &Dumper) const override;
27 : void dumpRight(PDBSymDumper &Dumper) const override;
28 : void dumpArgList(raw_ostream &OS) const;
29 :
30 : bool isCVarArgs() const;
31 :
32 61 : FORWARD_SYMBOL_METHOD(getCallingConvention)
33 61 : FORWARD_SYMBOL_ID_METHOD(getClassParent)
34 : FORWARD_SYMBOL_ID_METHOD(getUnmodifiedType)
35 61 : FORWARD_SYMBOL_METHOD(isConstType)
36 : FORWARD_SYMBOL_METHOD(getCount)
37 : FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
38 : // FORWARD_SYMBOL_METHOD(getObjectPointerType)
39 : FORWARD_SYMBOL_METHOD(getThisAdjust)
40 61 : FORWARD_SYMBOL_ID_METHOD_WITH_NAME(getType, getReturnType)
41 : FORWARD_SYMBOL_METHOD(isUnalignedType)
42 61 : FORWARD_SYMBOL_METHOD(isVolatileType)
43 : };
44 :
45 : } // namespace llvm
46 : }
47 :
48 : #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEFUNCTIONSIG_H
|