summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py
diff options
context:
space:
mode:
authorManoj Gupta <manojgupta@google.com>2019-09-12 22:36:13 +0000
committerManoj Gupta <manojgupta@google.com>2019-09-12 22:36:13 +0000
commit4fe2732161905a9bd53e09336851482a96b04ce9 (patch)
tree25acc7992f3ad35217ec73549f5f56f4050a0af3 /lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py
parentdecff073ee413dbc39a13b45592897b77e87552f (diff)
downloadbcm5719-llvm-4fe2732161905a9bd53e09336851482a96b04ce9.tar.gz
bcm5719-llvm-4fe2732161905a9bd53e09336851482a96b04ce9.zip
Add -Wpoison-system-directories warning
When using clang as a cross-compiler, we should not use system headers to do the compilation. This CL adds support of a new warning flag -Wpoison-system-directories which emits warnings if --sysroot is set and headers from common host system location are used. By default the warning is disabled. The intention of the warning is to catch bad includes which are usually generated by third party build system not targeting cross-compilation. Such cases happen in Chrome OS when someone imports a new package or upgrade one to a newer version from upstream. Patch by: denik (Denis Nikitin) llvm-svn: 371785
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud