diff options
author | peter klausler <pklausler@nvidia.com> | 2020-07-21 17:57:06 -0700 |
---|---|---|
committer | peter klausler <pklausler@nvidia.com> | 2020-07-21 18:21:35 -0700 |
commit | 320389e849f82403049c76ef06d11bfcef7b82e3 (patch) | |
tree | f69c5f1257a07cd81c54acb0e7f3db7ddbef24de /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8f2c5c4314f2360bf35d54507a54a5b612a41082 (diff) | |
download | llvm-320389e849f82403049c76ef06d11bfcef7b82e3.zip llvm-320389e849f82403049c76ef06d11bfcef7b82e3.tar.gz llvm-320389e849f82403049c76ef06d11bfcef7b82e3.tar.bz2 |
[flang] Fix source line continuation in potential macro calls (bugzilla 46768)
The prescanner looks for implicit continuation lines when
there are unclosed parentheses at the end of a line, so that
source preprocessing macro references with arguments that span
lines are recognized. The condition that determines this
implicit continuation has been put into a predicate member
function and corrected to apply only when the following line
is source (not a preprocessing directive, comment, &c.).
Fixes bugzilla #46768.
Reviewed By: sscalpone
Differential Revision: https://reviews.llvm.org/D84280
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions