alexfh added a comment.

In https://reviews.llvm.org/D45679#1132086, @JonasToth wrote:

> It might be the case, that the test is run with -no-stdinc (or similar),
>  so the standard library is not available.


Tests should be self-contained and must not depend on any system headers. 
Standard library implementations may differ, which would make tests brittle. 
Instead, tests should mock implementations of the APIs they work with (if 
necessary, multiple times - once for every distinct standard library version 
the check supports).


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D45679



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to