You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check these two files with: clang-check a/a.c b/b.c
Then clang-check will complain for:
warning: ../b/b: 'linker' input unused [-Wunused-command-line-argument]
b.c:1:10: fatal error: 'A.h' file not found
#include "A.h"
^~~~~~~~~
1 error generated.
Error while processing testcase/b/b.c.
In which it seems failed to find the b/A.h for b/b.c.
Is this an intented behavior or just a bug? What is the correct way to use clang-check (or use libtooling) to do CTU analyze on multiple source files?