[PATCH] D143493: [flang][driver] Add support for -include flag in flang -fc1
Sergio Afonso via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 7 05:53:39 PST 2023
skatrak created this revision.
skatrak added reviewers: dpalermo, jsjodin, domada, raghavendhra.
Herald added a reviewer: sscalpone.
Herald added a reviewer: awarzynski.
Herald added a subscriber: sunshaoce.
Herald added projects: Flang, All.
skatrak requested review of this revision.
Herald added subscribers: cfe-commits, jdoerfert.
Herald added a project: clang.
This patch adds support for the -include flag to include header files before
parsing the input. It should implement the same behavior as the flag with the
same name in clang.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D143493
Files:
clang/include/clang/Driver/Options.td
flang/include/flang/Frontend/PreprocessorOptions.h
flang/include/flang/Parser/parsing.h
flang/lib/Frontend/CompilerInvocation.cpp
flang/lib/Parser/parsing.cpp
flang/test/Driver/driver-help.f90
flang/test/Driver/include-file.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143493.495495.patch
Type: text/x-patch
Size: 5692 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230207/abb92e01/attachment.bin>
More information about the cfe-commits
mailing list