[llvm-bugs] [Bug 43372] New: clang-format can't format file with includes
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Sep 20 01:56:20 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=43372
Bug ID: 43372
Summary: clang-format can't format file with includes
Product: clang
Version: 8.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: release blocker
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: nikolaev at visiology.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
Created attachment 22536
--> https://bugs.llvm.org/attachment.cgi?id=22536&action=edit
.clang-format file and database.cpp file with bug
Extact files from the attachement.
Then
1) Check file:
clang-format -style=file -output-replacements-xml database.cpp
There are some replacements
2) Fix it:
clang-format -style=file -i database.cpp
3) Check file:
clang-format -style=file -output-replacements-xml database.cpp
There are some errors o_O
Why???
--
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/20190920/79d44bb8/attachment.html>
More information about the llvm-bugs
mailing list