Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
[libc++abi] Reuse libc++'s refstring.h header instead of copying it
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ldionne committed Nov 11, 2020
1 parent 1ca01b1 commit 56a56e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 132 deletions.
131 changes: 0 additions & 131 deletions src/include/refstring.h

This file was deleted.

2 changes: 1 addition & 1 deletion src/stdlib_stdexcept.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

#include "include/refstring.h"
#include "../../libcxx/src/include/refstring.h"
#include "stdexcept"
#include "new"
#include <cstdlib>
Expand Down

0 comments on commit 56a56e0

Please sign in to comment.