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: unassignedclangb...@nondot.org
          Reporter: nikol...@visiology.com
                CC: djas...@google.com, kli...@google.com,
                    llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to