Merging r197314:
------------------------------------------------------------------------
r197314 | logan | 2013-12-13 22:45:09 -0800 (Fri, 13 Dec 2013) | 9 lines

Fix GCC unknown pragma warning in libc++.

We should check defined(__clang__) before the usage of the
clang diagnostic pragmas.

The [-Wswitch] warning in src/future.cpp should be ignored.
As the result, the equivalent GCC pragma is added.


------------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/branches/release_34@198100 91177308-0d34-0410-b5e6-96231b3b80d8
2 files changed
tree: 86ed068740ebb88a5a1fe025f74a397270ec9c25
  1. cmake/
  2. include/
  3. lib/
  4. src/
  5. test/
  6. www/
  7. .arcconfig
  8. CMakeLists.txt
  9. CREDITS.TXT
  10. LICENSE.TXT
  11. Makefile