[all-commits] [llvm/llvm-project] 4dfed6: [flang][preprocessor] Don't expand INCLUDE under -...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon Sep 30 12:39:09 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4dfed691a9f846b1ff773e28b878404b78559890
https://github.com/llvm/llvm-project/commit/4dfed691a9f846b1ff773e28b878404b78559890
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2024-09-30 (Mon, 30 Sep 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M flang/include/flang/Frontend/PreprocessorOptions.h
M flang/include/flang/Parser/parsing.h
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Frontend/FrontendAction.cpp
M flang/lib/Parser/parsing.cpp
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/prescan.h
M flang/test/Parser/include.f
Log Message:
-----------
[flang][preprocessor] Don't expand INCLUDE under -E by default (#110333)
Fortran INCLUDE lines have (until now) been treated like #include
directives. This isn't how things work with other Fortran compilers when
running under the -E option for preprocessing only, so stop doing it by
default, and add -fpreprocess-include-lines to turn it back on when
desired.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list