aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
diff options
context:
space:
mode:
authorTom Eccles <tom.eccles@arm.com>2025-07-15 16:39:34 +0100
committerGitHub <noreply@github.com>2025-07-15 16:39:34 +0100
commitc2e41be50f2cc3d1e99c30b1996b8873b05c4b0e (patch)
treeab256de2bc9ebd68ecfd794182686cee695ad16e /lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
parentf5c676d6d95dc63b8dcb43dd2e4dfc913a9c5a50 (diff)
downloadllvm-c2e41be50f2cc3d1e99c30b1996b8873b05c4b0e.zip
llvm-c2e41be50f2cc3d1e99c30b1996b8873b05c4b0e.tar.gz
llvm-c2e41be50f2cc3d1e99c30b1996b8873b05c4b0e.tar.bz2
[flang][Parser] Add whitespace token after the sentinel in fixed form (#148825)
Fixes #148386 The first time the line was classified (using `Prescanner::ClassifyLine(const char *)`) the line was correctly classified as a compiler directive. But then later on the token form is invoked (`Prescanner::ClassifyLine(TokenSequence, Provenance)`). This one incorrectly classified the line as a comment because there was no whitespace token right after the sentinel. This fixes the issue by ensuring this whitespace is added.
Diffstat (limited to 'lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp')
0 files changed, 0 insertions, 0 deletions