[all-commits] [llvm/llvm-project] e12ffe: [flang] Honor #line and related preprocessing dire...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Thu Jun 29 08:27:59 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e12ffe6a93505e590158ddd8cc73a4f201bbf0aa
https://github.com/llvm/llvm-project/commit/e12ffe6a93505e590158ddd8cc73a4f201bbf0aa
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2023-06-29 (Thu, 29 Jun 2023)
Changed paths:
M flang/examples/FlangOmpReport/FlangOmpReportVisitor.cpp
M flang/include/flang/Parser/source.h
M flang/lib/Frontend/FrontendActions.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Parser/parsing.cpp
M flang/lib/Parser/preprocessor.cpp
M flang/lib/Parser/preprocessor.h
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/prescan.h
M flang/lib/Parser/provenance.cpp
M flang/lib/Parser/source.cpp
M flang/lib/Semantics/semantics.cpp
M flang/test/Driver/debug-provenance.f90
A flang/test/Parser/line-directive.f90
A flang/test/Semantics/line-directive.f90
Log Message:
-----------
[flang] Honor #line and related preprocessing directives
Extend the SourceFile class to take account of #line directives
when computing source file positions for error messages.
Adjust the output of #line directives to -E output so that they
reflect any #line directives that were in the input.
Differential Revision: https://reviews.llvm.org/D153910
More information about the All-commits
mailing list