https://llvm.org/bugs/show_bug.cgi?id=25364
Bug ID: 25364 Summary: clang-format for Emacs breaks with non-ASCII characters Product: clang Version: 3.7 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: Formatter Assignee: unassignedclangb...@nondot.org Reporter: david...@gmail.com CC: djas...@google.com, kli...@google.com, llvm-bugs@lists.llvm.org Classification: Unclassified If a source file contains non-ASCII characters the Emacs integration of clang-format breaks. For example, for the file containing `// ☺` the command `clang-format-region` fails with the error message "(clang-format failed with code 1: error: invalid length 6, offset + length (6) is outside the file.)". -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs