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
5 lines
295 B
Plaintext
5 lines
295 B
Plaintext
| a/test.h:2:1:2:22 | #include_next <test.h> | b/test.h:0:0:0:0 | b/test.h |
|
|
| b/loop.h:2:1:2:22 | #include_next <test.h> | a/test.h:0:0:0:0 | a/test.h |
|
|
| b/test.h:4:1:4:17 | #include "loop.h" | b/loop.h:0:0:0:0 | b/loop.h |
|
|
| foo.c:2:1:2:17 | #include <test.h> | a/test.h:0:0:0:0 | a/test.h |
|