aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorAlexander Shaposhnikov <ashaposhnikov@google.com>2025-07-07 15:10:44 -0700
committerGitHub <noreply@github.com>2025-07-07 15:10:44 -0700
commit4946db15a74b761c5ac4ead18873639236b4ab5d (patch)
tree8e7f8ee4c330a691ab37ef5bc4188fd054a69c7c /clang/lib/Basic/SourceManager.cpp
parent556c8467d15a131552e3c84478d768bafd95d4e6 (diff)
downloadllvm-4946db15a74b761c5ac4ead18873639236b4ab5d.zip
llvm-4946db15a74b761c5ac4ead18873639236b4ab5d.tar.gz
llvm-4946db15a74b761c5ac4ead18873639236b4ab5d.tar.bz2
[AsmParser][MCA] Fix handling of multi-character comments (#147228)
This PR adjusts the lexer (following the surrounding style) to make sure the comments are consumed exactly after `CommentString`. This enables to feed the output of `clang` on aarch64 into `llvm-mca` (previously broken - the comments //LLVM-MCA-BEGIN and //LLVM-MCA-END were actually ignored) Test plan: ninja check-all
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions