[all-commits] [llvm/llvm-project] d987b6: [flang] Search for #include "file" in right directory
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon Jan 25 13:39:59 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d987b61b1dce9948801ac37704477e7c257100b1
https://github.com/llvm/llvm-project/commit/d987b61b1dce9948801ac37704477e7c257100b1
Author: peter klausler <pklausler at nvidia.com>
Date: 2021-01-25 (Mon, 25 Jan 2021)
Changed paths:
M flang/include/flang/Parser/provenance.h
M flang/include/flang/Parser/source.h
M flang/lib/Parser/parsing.cpp
M flang/lib/Parser/preprocessor.cpp
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/provenance.cpp
M flang/lib/Parser/source.cpp
M flang/tools/f18/f18.cpp
Log Message:
-----------
[flang] Search for #include "file" in right directory
Make the #include "file" preprocessing directive begin its
search in the same directory as the file containing the directive,
as other preprocessors and our Fortran INCLUDE statement do.
Avoid current working directory for all source files after the original.
Differential Revision: https://reviews.llvm.org/D95388
More information about the All-commits
mailing list