[all-commits] [llvm/llvm-project] 92a541: [flang] Support multiple CookedSource instances

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Sep 2 10:35:12 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 92a541978618674ce112b2f500853218fed24db8
      https://github.com/llvm/llvm-project/commit/92a541978618674ce112b2f500853218fed24db8
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2020-09-02 (Wed, 02 Sep 2020)

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

  Log Message:
  -----------
  [flang] Support multiple CookedSource instances

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.

Differential Revision: https://reviews.llvm.org/D86891




More information about the All-commits mailing list