aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAndrzej Warzynski <andrzej.warzynski@arm.com>2021-07-12 08:44:38 +0000
committerAndrzej Warzynski <andrzej.warzynski@arm.com>2021-08-05 12:57:15 +0000
commit7b73ca3043fecfc5fa6bbf5b28edfee61a83ff9f (patch)
tree58beb9d436ffeec315fbf348429be8db022653cf /flang/lib/Frontend/CompilerInvocation.cpp
parent7217b01481566092c440f249d65a10efee8c50ad (diff)
downloadllvm-7b73ca3043fecfc5fa6bbf5b28edfee61a83ff9f.zip
llvm-7b73ca3043fecfc5fa6bbf5b28edfee61a83ff9f.tar.gz
llvm-7b73ca3043fecfc5fa6bbf5b28edfee61a83ff9f.tar.bz2
[flang][driver] Delete `f18` (i.e. the old Flang driver)
This patch removes `f18`, a.k.a. the old driver. It is being replaced with the new driver, `flang-new`, which has reached feature parity with `f18` a while ago. This was discussed in [1] and also in [2]. With this change, `FLANG_BUILD_NEW_DRIVER` is no longer needed and is also deleted. This means that we are making the dependency on Clang permanent (i.e. it cannot be disabled with a CMake flag). LIT set-up is updated accordingly. All references to `f18` or `f18.cpp` are either updated or removed. The `F18_FC` variable from the `flang` bash script is replaced with `FLANG_FC`. The former is still supported for backwards compatibility. [1] https://lists.llvm.org/pipermail/flang-dev/2021-June/000742.html [2] https://reviews.llvm.org/D103177 Differential Revision: https://reviews.llvm.org/D105811
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--flang/lib/Frontend/CompilerInvocation.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/flang/lib/Frontend/CompilerInvocation.cpp b/flang/lib/Frontend/CompilerInvocation.cpp
index 68ff1671..baa0f32 100644
--- a/flang/lib/Frontend/CompilerInvocation.cpp
+++ b/flang/lib/Frontend/CompilerInvocation.cpp
@@ -571,7 +571,6 @@ void CompilerInvocation::collectMacroDefinitions() {
void CompilerInvocation::SetDefaultFortranOpts() {
auto &fortranOptions = fortranOpts();
- // These defaults are based on the defaults in f18/f18.cpp.
std::vector<std::string> searchDirectories{"."s};
fortranOptions.searchDirectories = searchDirectories;
fortranOptions.isFixedForm = false;