Files
codeql/cpp/ql/test/header-variant-tests/multi-target-includes/includes.expected
Jeroen Ketema 5b65f98e2c C++: Update expected test results after extractor changes
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
2024-09-05 15:17:43 +02:00

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 |