[flang-commits] [PATCH] D86891: [flang] Support multiple CookedSource instances

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Mon Aug 31 12:50:04 PDT 2020


klausler created this revision.
klausler added reviewers: sscalpone, PeteSteinfeld.
klausler added a project: Flang.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: DavidTruby.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
klausler requested review of this revision.

These are owned by an instance of a new class AllCookedSources.

This removes the need for a Scope to own a string containing
a module's cooked source stream, and will enable errors to be
emitted when parsing module files in the future.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86891

Files:
  flang/include/flang/Lower/Bridge.h
  flang/include/flang/Lower/ConvertType.h
  flang/include/flang/Parser/instrumented-parser.h
  flang/include/flang/Parser/message.h
  flang/include/flang/Parser/parsing.h
  flang/include/flang/Parser/provenance.h
  flang/include/flang/Parser/user-state.h
  flang/include/flang/Semantics/scope.h
  flang/include/flang/Semantics/semantics.h
  flang/lib/Parser/debug-parser.cpp
  flang/lib/Parser/instrumented-parser.cpp
  flang/lib/Parser/message.cpp
  flang/lib/Parser/parsing.cpp
  flang/lib/Parser/prescan.cpp
  flang/lib/Parser/prescan.h
  flang/lib/Parser/provenance.cpp
  flang/lib/Semantics/mod-file.cpp
  flang/lib/Semantics/scope.cpp
  flang/lib/Semantics/semantics.cpp
  flang/test/Semantics/getsymbols02.f90
  flang/tools/f18-parse-demo/f18-parse-demo.cpp
  flang/tools/f18/f18.cpp
  flang/unittests/Evaluate/intrinsics.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86891.289010.patch
Type: text/x-patch
Size: 41201 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20200831/40d39800/attachment-0001.bin>


More information about the flang-commits mailing list