diff options
| author | Fangrui Song <i@maskray.me> | 2024-10-11 21:39:06 -0700 |
|---|---|---|
| committer | Amir Ayupov <aaupov@fb.com> | 2024-10-11 21:39:06 -0700 |
| commit | 436701d88c1384d3f72c44dd152cd55e47ef2de3 (patch) | |
| tree | c9825a370f1ba14e5fff19cea1279a0e7a7e9b54 /flang/lib/Semantics/semantics.cpp | |
| parent | efa1900174cb940f3750ce9e8cb6f06e69b4f3f0 (diff) | |
| parent | dd326b122506421aba2368053103767f4c56e2ba (diff) | |
[𝘀𝗽𝗿] changes introduced through rebaseusers/aaupov/spr/main.boltnfc-speedup-batwritemaps
Created using spr 1.3.4
[skip ci]
Diffstat (limited to 'flang/lib/Semantics/semantics.cpp')
| -rw-r--r-- | flang/lib/Semantics/semantics.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/flang/lib/Semantics/semantics.cpp b/flang/lib/Semantics/semantics.cpp index 637088ff0171..58dc1f218b56 100644 --- a/flang/lib/Semantics/semantics.cpp +++ b/flang/lib/Semantics/semantics.cpp @@ -663,6 +663,10 @@ void SemanticsContext::DumpSymbols(llvm::raw_ostream &os) { DoDumpSymbols(os, globalScope()); } +ProgramTree &SemanticsContext::SaveProgramTree(ProgramTree &&tree) { + return programTrees_.emplace_back(std::move(tree)); +} + void Semantics::DumpSymbols(llvm::raw_ostream &os) { context_.DumpSymbols(os); } void Semantics::DumpSymbolsSources(llvm::raw_ostream &os) const { |
