[PATCH] D92854: [flang][driver] Add support for `-fsyntax-only`
Caroline via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 14 06:18:36 PST 2020
CarolineConcatto added inline comments.
================
Comment at: flang/lib/Frontend/FrontendActions.cpp:87
+ defaultKinds, features, ci.allCookedSources()};
+ semanticsContext.set_moduleDirectory("."s);
+ Fortran::semantics::Semantics semantics{
----------------
Just a quick question:
Why you cannot use this function:
CompilerInvocation::SetDefaultFortranOpts
instead of using semanticsContext.set_moduleDirectory("."s);
?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92854/new/
https://reviews.llvm.org/D92854
More information about the cfe-commits
mailing list