Retrieving Appropriate Headers

Hi again,

Maybe this is what I was looking for:

http://clang.llvm.org/docs/UsersManual.html#controlling-diagnostics-in-system-headers

But, how can I put into practice when creating a tool instead of directly running the command clang?