Skip to content

Commit 911078d

Browse files
committed
Demangling: remove stray llvm forward declaration
Remove the forward declaration for `llvm::raw_ostream` as this creates ambiguity for `__swift::__runtime::llvm::StringRef` and `llvm::StringRef` as now `llvm` is made visible to the namespace lookup rules.
1 parent 476823b commit 911078d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

include/swift/Demangling/Demangle.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@
3030
#include <memory>
3131
#include <string>
3232

33-
namespace llvm {
34-
class raw_ostream;
35-
}
36-
3733
namespace swift {
3834
namespace Demangle {
3935
SWIFT_BEGIN_INLINE_NAMESPACE

0 commit comments

Comments
 (0)