[llvm-bugs] [Bug 46529] New: "const auto varName" rewritten to "const autovarName" within a lambda for a certain style
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jul 1 07:20:37 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=46529
Bug ID: 46529
Summary: "const auto varName" rewritten to "const autovarName"
within a lambda for a certain style
Product: clang
Version: 10.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: balazs.szalkai at aimotive.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
Created attachment 23667
--> https://bugs.llvm.org/attachment.cgi?id=23667&action=edit
cpp file and .clang-format style file which reproduce the bug
Try to format the attached bug.cpp with the attached .clang-format style file:
clang-format -style=file bug.cpp
The tokens "auto" and "something" become erroneously contracted in the result
(tried with clang version 8 and 10).
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200701/560beff7/attachment.html>
More information about the llvm-bugs
mailing list