libstdc++/71073 add system_header pragma to Debug Mode headers
authorJonathan Wakely <jwakely@redhat.com>
Fri, 13 May 2016 14:47:46 +0000 (15:47 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 13 May 2016 14:47:46 +0000 (15:47 +0100)
PR libstdc++/71073
* include/debug/bitset: Add #pragma GCC system_header.
* include/debug/deque: Likewise.
* include/debug/list: Likewise.
* include/debug/map: Likewise.
* include/debug/set: Likewise.
* include/debug/string: Likewise.
* include/debug/unordered_map: Likewise.
* include/debug/unordered_set: Likewise.
* include/debug/vector: Likewise.
* include/debug/functions.h: Adjust whitespace.

From-SVN: r236211

libstdc++-v3/ChangeLog
libstdc++-v3/include/debug/bitset
libstdc++-v3/include/debug/deque
libstdc++-v3/include/debug/functions.h
libstdc++-v3/include/debug/list
libstdc++-v3/include/debug/map
libstdc++-v3/include/debug/set
libstdc++-v3/include/debug/string
libstdc++-v3/include/debug/unordered_map
libstdc++-v3/include/debug/unordered_set
libstdc++-v3/include/debug/vector

index 015a02e20f797d4bc8d17def158c987ac7b7cb5a..fb48cec2701bacdc4d5147422c302239717e4502 100644 (file)
@@ -1,3 +1,17 @@
+2016-05-13  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/71073
+       * include/debug/bitset: Add #pragma GCC system_header.
+       * include/debug/deque: Likewise.
+       * include/debug/list: Likewise.
+       * include/debug/map: Likewise.
+       * include/debug/set: Likewise.
+       * include/debug/string: Likewise.
+       * include/debug/unordered_map: Likewise.
+       * include/debug/unordered_set: Likewise.
+       * include/debug/vector: Likewise.
+       * include/debug/functions.h: Adjust whitespace.
+
 2016-05-12  Jonathan Wakely  <jwakely@redhat.com>
 
        PR libstdc++/71081
index 706a7b7681ed84ec77c1116e01e505c7805b64e8..1353aa38074a1d26cfa4e15ad07dced29a78d340 100644 (file)
@@ -29,6 +29,8 @@
 #ifndef _GLIBCXX_DEBUG_BITSET
 #define _GLIBCXX_DEBUG_BITSET
 
+#pragma GCC system_header
+
 #include <bitset>
 #include <debug/safe_sequence.h>
 #include <debug/safe_iterator.h>
index 72b65368396802e3c672ed2cac73b70b499356e3..f15faadbb7b182379bb3f4d5114eeba83a28a0a3 100644 (file)
@@ -29,6 +29,8 @@
 #ifndef _GLIBCXX_DEBUG_DEQUE
 #define _GLIBCXX_DEBUG_DEQUE 1
 
+#pragma GCC system_header
+
 #include <deque>
 #include <debug/safe_sequence.h>
 #include <debug/safe_container.h>
index 547ec5cc127de6e52897d02d7f8de2aa57cbc0b9..35e7ae8395a79e23a2ecde8f9c73709c4b9c3dc6 100644 (file)
 #ifndef _GLIBCXX_DEBUG_FUNCTIONS_H
 #define _GLIBCXX_DEBUG_FUNCTIONS_H 1
 
-#include <bits/move.h>                         // for __addressof
-#include <bits/stl_function.h>                 // for less
+#include <bits/move.h>         // for __addressof
+#include <bits/stl_function.h> // for less
 #if __cplusplus >= 201103L
-# include <type_traits>                                // for is_lvalue_reference and
-                                               // conditional.
+# include <type_traits>                // for is_lvalue_reference and conditional.
 #endif
 
 #include <debug/helper_functions.h>
index f1bfe35e032886fa28ed8d5fb3ced84aba385568..09df483e8c1816ebd0830a6821514d9a201fe14c 100644 (file)
@@ -29,6 +29,8 @@
 #ifndef _GLIBCXX_DEBUG_LIST
 #define _GLIBCXX_DEBUG_LIST 1
 
+#pragma GCC system_header
+
 #include <list>
 #include <debug/safe_sequence.h>
 #include <debug/safe_container.h>
index 3fa961d2ded73d3d549021cb4fc53918720d8697..2cce7c0c4bcbea7c0fc7b8a36f3f5803e8461861 100644 (file)
@@ -29,6 +29,8 @@
 #ifndef _GLIBCXX_DEBUG_MAP
 #define _GLIBCXX_DEBUG_MAP 1
 
+#pragma GCC system_header
+
 #include <map>
 #include <debug/map.h>
 #include <debug/multimap.h>
index bfe1d36d1e32e74c99b63ddcfa44e682771bf7b1..82e39003050e76958cb9fcaa4e5245f989086e74 100644 (file)
@@ -29,6 +29,8 @@
 #ifndef _GLIBCXX_DEBUG_SET
 #define _GLIBCXX_DEBUG_SET 1
 
+#pragma GCC system_header
+
 #include <set>
 #include <debug/set.h>
 #include <debug/multiset.h>
index 7edc6658c0cc40ea44b3260482632e6e335e7141..137974d724f9df2718c0fb09d751bd3390eddd27 100644 (file)
@@ -29,6 +29,8 @@
 #ifndef _GLIBCXX_DEBUG_STRING
 #define _GLIBCXX_DEBUG_STRING 1
 
+#pragma GCC system_header
+
 #include <string>
 #include <debug/safe_sequence.h>
 #include <debug/safe_container.h>
index cf6c8d44be3c3a227430e8ca21896e62ddd77cba..873f36a349951b2b211c802e3bd2e2dcf60105ed 100644 (file)
@@ -29,6 +29,8 @@
 #ifndef _GLIBCXX_DEBUG_UNORDERED_MAP
 #define _GLIBCXX_DEBUG_UNORDERED_MAP 1
 
+#pragma GCC system_header
+
 #if __cplusplus < 201103L
 # include <bits/c++0x_warning.h>
 #else
index 203900aa2784e4b74258e58443c9b4b362d892f8..6a4dba6475d0c7f23bc57fbd711a2852280928d0 100644 (file)
@@ -29,6 +29,8 @@
 #ifndef _GLIBCXX_DEBUG_UNORDERED_SET
 #define _GLIBCXX_DEBUG_UNORDERED_SET 1
 
+#pragma GCC system_header
+
 #if __cplusplus < 201103L
 # include <bits/c++0x_warning.h>
 #else
index d2cd74f087756cf6511e2ae202fcd6b64ed64d1a..9bcda733a7005b184019c4e047773cd82da3da4e 100644 (file)
@@ -29,6 +29,8 @@
 #ifndef _GLIBCXX_DEBUG_VECTOR
 #define _GLIBCXX_DEBUG_VECTOR 1
 
+#pragma GCC system_header
+
 #include <vector>
 #include <utility>
 #include <debug/safe_sequence.h>