Skip to content

Commit a7b6574

Browse files
committed
[libc++abi] Reuse libc++'s refstring.h header instead of copying it
This has been a long-standing TODO item, however we have now been requiring a monorepo layout to build libc++ and libc++abi for a while now. Hence, we can fix this code duplication issue now. Note that it's still not super pretty to reach into libc++ to include headers, but it's better than having duplicated code which can get out of sync.
1 parent 67b13e9 commit a7b6574

File tree

2 files changed

+1
-132
lines changed

2 files changed

+1
-132
lines changed

libcxxabi/src/include/refstring.h

Lines changed: 0 additions & 131 deletions
This file was deleted.

libcxxabi/src/stdlib_stdexcept.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include "include/refstring.h"
9+
#include "../../libcxx/src/include/refstring.h"
1010
#include "stdexcept"
1111
#include "new"
1212
#include <cstdlib>

0 commit comments

Comments
 (0)