[all-commits] [llvm/llvm-project] ae4d7a: [flang][driver][nfc] Move the definition of Semant...

Andrzej Warzyński via All-commits all-commits at lists.llvm.org
Wed Nov 29 13:20:59 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae4d7ac9c885d56c98c1a19af9c330de37883ad1
      https://github.com/llvm/llvm-project/commit/ae4d7ac9c885d56c98c1a19af9c330de37883ad1
  Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M flang/include/flang/Frontend/CompilerInstance.h
    M flang/include/flang/Frontend/CompilerInvocation.h
    M flang/lib/Frontend/CompilerInstance.cpp
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/lib/Frontend/FrontendAction.cpp
    M flang/lib/Frontend/FrontendActions.cpp

  Log Message:
  -----------
  [flang][driver][nfc] Move the definition of SemanticsContext (#73669)

Moves the defintion of `SemanticsContext` within the Flang driver.

Rather than in `CompilerInvocation`, semantic context fits better within
`CompilerInstance` that encapsulates the objects that are required to
run the
frontend. `CompilerInvocation` is better suited for objects
encapsulating compiler configuration (e.g. set-up resulting from user
input or host set-up).




More information about the All-commits mailing list