[llvm-bugs] [Bug 33083] New: extern "C" indentation

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 17 17:26:02 PDT 2017


            Bug ID: 33083
           Summary: extern "C" indentation
           Product: clang
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: xgalaxy at gmail.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

There doesn't appear to be any way to affect indentation for extern "C" {}
blocks. Currently they always format to the following:

extern "C"
extern foo();
extern bar();

An option to indent inner would be great, such as:
extern "C"
    extern foo();
    extern bar();

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/20170518/044c78cf/attachment.html>

More information about the llvm-bugs mailing list