Skip to content

Commit 85eb293

Browse files
authored
Merge pull request #29045 from davezarzycki/pr29045
2 parents 95ef81a + 0dca08f commit 85eb293

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/Basic/Located.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,9 @@ void Located<T>::dump() const {
2020

2121
template<typename T>
2222
void Located<T>::dump(raw_ostream &os) const {
23-
os << Loc << " " << Item;
23+
// FIXME: The following does not compile on newer clangs because operator<<
24+
// does not exist for SourceLoc. More so, the operator does not exist because
25+
// one needs a SourceManager reference and buffer ID to convert any given
26+
// SourceLoc into line and column information.
27+
//os << Loc << " " << Item;
2428
}

0 commit comments

Comments
 (0)