summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-02-11 10:04:29 +0000
committerJohn McCall <rjmccall@apple.com>2010-02-11 10:04:29 +0000
commitbe089fa86b8724cfee55c99393f2b32088996700 (patch)
treeff192398a2c3279bc64f38f619e1677a93fb5e20 /llvm/lib/CodeGen/AsmPrinter
parentd31b2637abd2aa6941625a60034cccdab61fe134 (diff)
downloadbcm5719-llvm-be089fa86b8724cfee55c99393f2b32088996700.tar.gz
bcm5719-llvm-be089fa86b8724cfee55c99393f2b32088996700.zip
Suppress warnings if their instantiation location is in a system header, not
their spelling location. This prevents warnings from being swallowed just because the caret is on the first parenthesis in, say, NULL. This is an experiment; the risk is that there might be a substantial number of system headers which #define symbols to expressions which inherently cause warnings. My theory is that that's rare enough that it can be worked around case-by-case, and that producing useful warnings around NULL is worth it. But I'm willing to accept that I might be empirically wrong. llvm-svn: 95870
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud