projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e96d53
)
Turn on -Wshadow so I find occurances before STL does
author
Eric Fiselier
<eric@efcs.ca>
Sun, 23 Oct 2016 19:01:10 +0000
(19:01 +0000)
committer
Eric Fiselier
<eric@efcs.ca>
Sun, 23 Oct 2016 19:01:10 +0000
(19:01 +0000)
llvm-svn: 284944
libcxx/test/libcxx/test/config.py
patch
|
blob
|
history
diff --git
a/libcxx/test/libcxx/test/config.py
b/libcxx/test/libcxx/test/config.py
index
6655743
..
7db7636
100644
(file)
--- a/
libcxx/test/libcxx/test/config.py
+++ b/
libcxx/test/libcxx/test/config.py
@@
-627,6
+627,7
@@
class Configuration(object):
'-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER',
'-Wall', '-Wextra', '-Werror'
]
+ self.cxx.addWarningFlagIfSupported('-Wshadow')
self.cxx.addWarningFlagIfSupported('-Wno-unused-command-line-argument')
self.cxx.addWarningFlagIfSupported('-Wno-attributes')
self.cxx.addWarningFlagIfSupported('-Wno-pessimizing-move')