mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
The updated test results look more correct, as the documentation of `#include_next` [1] that it should start looking in the next directory in the search path. Before this update, the frontend was actually looking in the current directory first, which is incorrect. [1] https://gcc.gnu.org/onlinedocs/cpp/Wrapper-Headers.html
10 lines
735 B
Plaintext
10 lines
735 B
Plaintext
| common.h:3:1:3:22 | #include "nameclash.h" | Include | nameclash.h | 1 |
|
|
| defines_issue.h:3:1:3:23 | #include DEFINED_HEADER | Include | define1.h | 1 |
|
|
| defines_issue.h:3:1:3:23 | #include DEFINED_HEADER | Include | define2.h | 1 |
|
|
| main1.cpp:3:1:3:19 | #include "common.h" | Include | common.h | 1 |
|
|
| main1.cpp:7:1:7:26 | #include "defines_issue.h" | Include | defines_issue.h | 1 |
|
|
| main2.cpp:3:1:3:19 | #include "common.h" | Include | common.h | 1 |
|
|
| main2.cpp:7:1:7:26 | #include "defines_issue.h" | Include | defines_issue.h | 1 |
|
|
| nameclash.h:3:1:3:27 | #include_next "nameclash.h" | IncludeNext | subdir1/nameclash.h | 1 |
|
|
| nameclash.h:3:1:3:27 | #include_next "nameclash.h" | IncludeNext | subdir2/nameclash.h | 1 |
|