summaryrefslogtreecommitdiff
path: root/test/Sema/thread-specifier.c
diff options
context:
space:
mode:
authorSerge Pavlov <sepavloff@gmail.com>2014-12-12 06:37:55 +0000
committerSerge Pavlov <sepavloff@gmail.com>2014-12-12 06:37:55 +0000
commit2a33f6edb1f8142a61b10efccae042cb082fb1d7 (patch)
tree3b42eea832c374f81f297c2e12bda395aeeb8c64 /test/Sema/thread-specifier.c
parentbb657de5a6865a18bb25b25eda4da2cb293f94c2 (diff)
downloadclang-2a33f6edb1f8142a61b10efccae042cb082fb1d7.tar.gz
Do not warn on keyword undef
#undef a keyword is generally harmless but used often in configuration scripts. Also added tests that I forgot to include to commit in r223114. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@224100 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/thread-specifier.c')
-rw-r--r--test/Sema/thread-specifier.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/Sema/thread-specifier.c b/test/Sema/thread-specifier.c
index 71e44c3472..3968ae14cf 100644
--- a/test/Sema/thread-specifier.c
+++ b/test/Sema/thread-specifier.c
@@ -5,8 +5,6 @@
// RUN: %clang_cc1 -triple i686-pc-linux-gnu -fsyntax-only -Wno-private-extern -verify -pedantic -x c++ %s -DCXX11 -D__thread=thread_local -std=c++11 -Wno-deprecated
// RUN: %clang_cc1 -triple i686-pc-linux-gnu -fsyntax-only -Wno-private-extern -verify -pedantic -x c++ %s -DC11 -D__thread=_Thread_local -std=c++11 -Wno-deprecated
-#pragma clang diagnostic ignored "-Wkeyword-macro"
-
#ifdef __cplusplus
// In C++, we define __private_extern__ to extern.
#undef __private_extern__