]> granicus.if.org Git - clang/commit
Suppress the c++11 -Wdeprecated warning for 'register' if it is expanded from a
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 14 Jun 2013 21:05:24 +0000 (21:05 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 14 Jun 2013 21:05:24 +0000 (21:05 +0000)
commit6b759f4d3c8bce0fe1f416953ef790c68e7c30b2
treebb26f390441d5c233f4288109dbbe9365bc123a2
parentb1e25a1bc03292dc538d336573e0be1490223171
Suppress the c++11 -Wdeprecated warning for 'register' if it is expanded from a
macro defined in a system header. glibc uses it in macros, apparently.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184005 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseDecl.cpp
test/SemaCXX/Inputs/register.h [new file with mode: 0644]
test/SemaCXX/deprecated.cpp