[all-commits] [llvm/llvm-project] d55122: [clang][Rewriter] Adjust end offset before Rewrite...
Aleksandr Platonov via All-commits
all-commits at lists.llvm.org
Mon Apr 6 23:30:19 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d55122e4390dc67e393bdf860844f7eebf73809d
https://github.com/llvm/llvm-project/commit/d55122e4390dc67e393bdf860844f7eebf73809d
Author: Aleksandr Platonov <platonov.aleksandr at huawei.com>
Date: 2026-04-07 (Tue, 07 Apr 2026)
Changed paths:
M clang/lib/Rewrite/Rewriter.cpp
M clang/unittests/Rewrite/RewriterTest.cpp
Log Message:
-----------
[clang][Rewriter] Adjust end offset before RewriteBuffer::getMappedOffset() call (#187374)
Without this patch, only cases when a token length increased were
supported.
If a token length decreased, we returned a larger string than expected
(e.g. in the added tests, "xretur " would be returned instead of
"xretur")
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list