[Syntax] Use a hash table to search for tokens by their location
This is both more efficient and avoids corner cases in `SourceManager::isBeforeInTranslationUnit`. The change is trivial and clearly a performance improvement on the hot path of building the syntax tree, so sending without review.
Loading
Please sign in to comment