Files
swift-mirror/lib/SyntaxParse/SyntaxTreeCreator.cpp
Alex Hoppen 084e57bb73 [libSyntax] Don't set hot use memory region if source is empty
If the source is empty, the start of the copied buffer is a nullptr which doesn't live inside the SyntaxArena's bump allocator. Thus the assert inside `setHotUseMemoryArea` fails.
2021-03-12 08:47:08 +01:00

10 KiB