Skip to content

Commit b48f2db

Browse files
author
Kyle Krueger
committed
complete forward-declared DebugInfo types for c++23 constexpr
1 parent ddd4519 commit b48f2db

File tree

5 files changed

+11
-1
lines changed

5 files changed

+11
-1
lines changed

llvm/include/llvm/DebugInfo/PDB/IPDBRawSymbol.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#define LLVM_DEBUGINFO_PDB_IPDBRAWSYMBOL_H
1111

1212
#include "PDBTypes.h"
13+
#include "llvm/DebugInfo/PDB/IPDBLineNumber.h"
1314
#include "llvm/ADT/BitmaskEnum.h"
1415
#include "llvm/ADT/SmallVector.h"
1516
#include "llvm/DebugInfo/CodeView/CodeView.h"

llvm/include/llvm/DebugInfo/PDB/PDBSymbolFunc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#define LLVM_DEBUGINFO_PDB_PDBSYMBOLFUNC_H
1111

1212
#include "llvm/DebugInfo/PDB/IPDBRawSymbol.h"
13+
#include "llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h"
1314
#include "llvm/Support/Compiler.h"
1415

1516
#include "PDBSymbol.h"
@@ -21,7 +22,6 @@ namespace pdb {
2122

2223
class PDBSymDumper;
2324
class PDBSymbolData;
24-
class PDBSymbolTypeFunctionSig;
2525
template <typename ChildType> class IPDBEnumChildren;
2626

2727
class LLVM_ABI PDBSymbolFunc : public PDBSymbol {

llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace pdb {
2020
class LLVM_ABI PDBSymbolTypeBuiltin : public PDBSymbol {
2121
DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::BuiltinType)
2222
public:
23+
~PDBSymbolTypeBuiltin();
2324
void dump(PDBSymDumper &Dumper) const override;
2425

2526
FORWARD_SYMBOL_METHOD(getBuiltinType)

llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111

1212
#include "PDBSymbol.h"
1313
#include "PDBTypes.h"
14+
#include "llvm/DebugInfo/PDB/IPDBLineNumber.h"
1415
#include "llvm/Support/Compiler.h"
1516

1617
#include "llvm/DebugInfo/PDB/IPDBRawSymbol.h"
18+
#include "llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h"
1719

1820
namespace llvm {
1921

llvm/lib/DebugInfo/PDB/PDBSymbolTypeBuiltin.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010

1111
#include "llvm/DebugInfo/PDB/PDBSymDumper.h"
1212

13+
namespace llvm {
14+
namespace pdb {
15+
PDBSymbolTypeBuiltin::~PDBSymbolTypeBuiltin() = default;
16+
} // namespace pdb
17+
} // namespace llvm
18+
1319
using namespace llvm;
1420
using namespace llvm::pdb;
1521

0 commit comments

Comments
 (0)