diff options
Diffstat (limited to 'source/slang/slang-language-server-auto-format.cpp')
| -rw-r--r-- | source/slang/slang-language-server-auto-format.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/slang/slang-language-server-auto-format.cpp b/source/slang/slang-language-server-auto-format.cpp index b7f601bc2..a65eb64ec 100644 --- a/source/slang/slang-language-server-auto-format.cpp +++ b/source/slang/slang-language-server-auto-format.cpp @@ -77,9 +77,7 @@ List<TextRange> extractFormattingExclusionRanges(UnownedStringSlice text) auto sourceFile = manager.createSourceFileWithString(PathInfo(), text); auto sourceView = manager.createSourceView(sourceFile, nullptr, SourceLoc()); DiagnosticSink sink; - RootNamePool rootPool; NamePool namePool; - namePool.setRootNamePool(&rootPool); MemoryArena memory; memory.init(1 << 16); lexer.initialize(sourceView, &sink, &namePool, &memory); |
