llvm-project/clang/lib/Tooling/Syntax
Ilya Biryukov c1bbefef9d [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.
2019-12-18 12:24:00 +01:00
..
BuildTree.cpp [Syntax] Use a hash table to search for tokens by their location 2019-12-18 12:24:00 +01:00
CMakeLists.txt [Syntax] Allow to mutate syntax trees 2019-12-18 12:19:03 +01:00
ComputeReplacements.cpp [Syntax] Allow to mutate syntax trees 2019-12-18 12:19:03 +01:00
Mutations.cpp [Syntax] Allow to mutate syntax trees 2019-12-18 12:19:03 +01:00
Nodes.cpp [Syntax] Build nodes for simple cases of top level declarations 2019-12-12 08:04:22 +01:00
Synthesis.cpp [Syntax] Allow to mutate syntax trees 2019-12-18 12:19:03 +01:00
Tokens.cpp [Syntax] Allow to mutate syntax trees 2019-12-18 12:19:03 +01:00
Tree.cpp [Syntax] Allow to mutate syntax trees 2019-12-18 12:19:03 +01:00