Closed samanpa closed 1 year ago
This is a more conservative version of #75
Given the example below foo.h
#define PASTE(x, y ) x ## y
foo.cpp
#include "foo.h" #include <cerrno> int zee() { return PASTE(err, no); }
After this PR clangmetatool will now detect that foo.h uses cerrno. In #75 it would say foo.cpp uses cerrno.
foo.h
cerrno
Signed-off-by: Kojo Adams kadams85@bloomberg.net
This is a more conservative version of #75
Given the example below foo.h
foo.cpp
After this PR clangmetatool will now detect that
foo.h
usescerrno
. In #75 it would sayfoo.cpp
usescerrno
.Signed-off-by: Kojo Adams kadams85@bloomberg.net