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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
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._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs