[all-commits] [llvm/llvm-project] b1aba4: [clang][Diagnostics] Don't expand label fixit to t...
Timm Bäder via All-commits
all-commits at lists.llvm.org
Thu Jun 15 06:58:57 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b1aba4a1009937aca920539f7737b1973f908dbd
https://github.com/llvm/llvm-project/commit/b1aba4a1009937aca920539f7737b1973f908dbd
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaDecl.cpp
M clang/test/FixIt/fixit-newline-style.c
Log Message:
-----------
[clang][Diagnostics] Don't expand label fixit to the next line
Now that we print >1 line of code snippet, we printed another line of
code for now reason, because the source range we created for the fixit
expanded to the next line, if the next token was there. Don't do that.
Differential Revision: https://reviews.llvm.org/D152525
More information about the All-commits
mailing list