[llvm-bugs] [Bug 43499] New: Allow maininclude file to include folder

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Sep 29 04:33:20 PDT 2019


            Bug ID: 43499
           Summary: Allow maininclude  file to include folder
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nn1436401 at gmail.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

clang-format doesn't recognize include to the file containing folder as main
include file.
For instance given:

x/a.h and x/a.cpp with content:

#include "x/a.h"
#include "other/header.h"

The clang-format doesn't recognize first line as a main header file and changes
the order.

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/20190929/796964e9/attachment.html>

More information about the llvm-bugs mailing list