kadircet wrote:

thanks for the patch! this definitely LGTM at high level.

as you folks also pointed out we don't want to surface analysis for angled 
includes in general, as include-cleaner doesn't have support for system headers 
yet (we wanted to have something similar to Stdlib includes, which maps certain 
include suffixes for known system libraries like posix, glibc to their umbrella 
headers, but never got to it).

As a result, turning this on unconditionally would yield a ton of false 
negatives, which renders analysis useless. But doing that behind a flag, 
especially in conjunction with `IgnoreHeaders` is a solution that works nicely 
in practice.

https://github.com/llvm/llvm-project/pull/87208
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to