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

            Bug ID: 42948
           Summary: Regression with #include behaviour in rL368322
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]

Created attachment 22365
  --> https://bugs.llvm.org/attachment.cgi?id=22365&action=edit
Sample code to reproduce the issue

The attached tarball has a stripped down version of the QtX11Extras folder from
Qt. Running 'clang++ -c test.cpp -I include' fails with the following output:

In file included from test.cpp:1:
In file included from include/QtX11Extras/QX11Info:1:
include/QtX11Extras/qx11info_x11.h:46:10: fatal error: cannot open file
'include/QtX11Extras/QtX11Extras/qtx11extrasglobal.h': Not a directory
#include "QtX11Extras/qtx11extrasglobal.h"
         ^
1 error generated.


Reverting https://reviews.llvm.org/rL368322 avoids the error

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to