Skip to content

Commit d09be91

Browse files
committed
Fix a typecheck_arithmetic_incomplete_or_sizeless_type error in GSYM/MergedFunctionsInfo.h
1 parent e72d956 commit d09be91

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

llvm/include/llvm/DebugInfo/GSYM/MergedFunctionsInfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ struct FunctionInfo;
2424
struct MergedFunctionsInfo {
2525
std::vector<FunctionInfo> MergedFunctions;
2626

27-
void clear() { MergedFunctions.clear(); }
27+
void clear();
2828

2929
/// Query if a MergedFunctionsInfo object is valid.
3030
///

llvm/lib/DebugInfo/GSYM/MergedFunctionsInfo.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
using namespace llvm;
1515
using namespace gsym;
1616

17+
void MergedFunctionsInfo::clear() { MergedFunctions.clear(); }
18+
1719
llvm::Error MergedFunctionsInfo::encode(FileWriter &Out) const {
1820
Out.writeU32(MergedFunctions.size());
1921
for (const auto &F : MergedFunctions) {

0 commit comments

Comments
 (0)