diff options
| author | Bob Wilson <bob.wilson@apple.com> | 2011-10-12 19:55:31 +0000 |
|---|---|---|
| committer | Bob Wilson <bob.wilson@apple.com> | 2011-10-12 19:55:31 +0000 |
| commit | 73a4deb33d5552ab7e3ca9bdd0d83d8ffc53c8b8 (patch) | |
| tree | 3ef1c792a0683b8e0796da8321525657c2fe6e19 /lldb/scripts/Python/modify-python-lldb.py | |
| parent | 2d21ab024ed371ce2a45c8691d0676a4ed855cc1 (diff) | |
| download | llvm-73a4deb33d5552ab7e3ca9bdd0d83d8ffc53c8b8.zip llvm-73a4deb33d5552ab7e3ca9bdd0d83d8ffc53c8b8.tar.gz llvm-73a4deb33d5552ab7e3ca9bdd0d83d8ffc53c8b8.tar.bz2 | |
Change __extension__ to disable only diagnostics controlled by -pedantic.
This changes clang to match GCC's behavior for __extension__, which temporarily
disables the -pedantic flag. Warnings that are enabled without -pedantic
are not affected. Besides the general goodness of matching GCC's precedent,
my motivation for this is that macros in the arm_neon.h header need to use
__extension__ to avoid pedantic complaints about their use of statement
expressions, yet we still want to warn about incompatible pointer arguments
for those macros.
llvm-svn: 141804
Diffstat (limited to 'lldb/scripts/Python/modify-python-lldb.py')
0 files changed, 0 insertions, 0 deletions
