blob: 61607a03593d8dc727c08289e77cdd771e2ecffa [file] [log] [blame]
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01001//===- PDBSymbolCompilandEnv.h - compiland environment variables *- C++ -*-===//
2//
Andrew Walbran16937d02019-10-22 13:54:20 +01003// 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
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01006//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILANDENV_H
10#define LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILANDENV_H
11
12#include "PDBSymbol.h"
13#include "PDBTypes.h"
14
15namespace llvm {
16
17class raw_ostream;
18namespace pdb {
19class PDBSymbolCompilandEnv : public PDBSymbol {
Andrew Scull5e1ddfa2018-08-14 10:06:54 +010020 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::CompilandEnv)
Andrew Scull0372a572018-11-16 15:47:06 +000021public:
Andrew Scull5e1ddfa2018-08-14 10:06:54 +010022 void dump(PDBSymDumper &Dumper) const override;
23
24 FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
25 FORWARD_SYMBOL_METHOD(getName)
26 std::string getValue() const;
27};
28
29} // namespace llvm
30}
31
32#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILANDENV_H