[llvm-bugs] [Bug 34527] New: clang-format doesn't indent extern C declarations correctly
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Sep 8 07:53:29 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34527
Bug ID: 34527
Summary: clang-format doesn't indent extern C declarations
correctly
Product: clang
Version: 4.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: timur.kristof at gmail.com
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
Created attachment 19120
--> https://bugs.llvm.org/attachment.cgi?id=19120&action=edit
clang format style description
I use clang-format 4.0.1 with the attached configuration. "IndentWidth: 4" is
used. However it does not format extern "C" declarations correctly.
Expected:
extern "C" {
void foo() { }
}
Actual:
extern "C" {
void foo() { }
}
Am I configuring it wrong, or is this a bug?
--
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/20170908/87a75ccb/attachment-0001.html>
More information about the llvm-bugs
mailing list