https://bugs.llvm.org/show_bug.cgi?id=43499

            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: unassignedclangb...@nondot.org
          Reporter: nn1436...@gmail.com
                CC: djas...@google.com, kli...@google.com,
                    llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to