https://llvm.org/bugs/show_bug.cgi?id=28545
Bug ID: 28545 Summary: clang-format breaks line within type for long variable name Product: new-bugs Version: 3.8 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P Component: new bugs Assignee: unassignedb...@nondot.org Reporter: schnet...@gmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified clang-format 3.8.0 (OS X, MacPorts) produces this line break for a C++ file: {{{ extern "C" char const *const OpenCL_source_OpenCLRunTime_test_attribute_opencl_unroll_hint; }}} I argue that the line break should not be within the type {{{char const *const}}}; it should either be before the type (after {{{extern "C"}}}) or after the type (just before the variable name). -- 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