HomePhabricator

[flang] Fix build issue with BUILD_SHARED_LIBS=ON

Authored by richard.barton.arm on Sep 11 2020, 7:46 AM.

Description

[flang] Fix build issue with BUILD_SHARED_LIBS=ON

Define Fortran::Semantics::Scope::GetName in the header so it is available
to Fortran::Evaluate::Tool::AttachDeclaration without a circular dependency
introduced in 82edd42.

Reviewed By: tskeith

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