summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/inline.c
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-06-18 23:58:49 +0000
committerJordan Rose <jordan_rose@apple.com>2012-06-18 23:58:49 +0000
commit8cea63c5cd15d7ef30fa3a1103ca5a6dd2715a36 (patch)
tree9c8c76b275d22e89808afe6dab5660c7bd750ad8 /clang/test/Sema/inline.c
parentf9abcb7ba906baea9eac83bd60c251a96b3b9016 (diff)
downloadbcm5719-llvm-8cea63c5cd15d7ef30fa3a1103ca5a6dd2715a36.tar.gz
bcm5719-llvm-8cea63c5cd15d7ef30fa3a1103ca5a6dd2715a36.zip
Change -Winternal-linkage-in-inline from ExtWarn to Warning in C++.
Per post-commit review, it's not appropriate to use ExtWarn in C++, because we can't prove that the inline function will actually be defined in more than one place (and thus we can't prove that this violates the ODR). This removes the warning entirely from uses in the main source file in C++. llvm-svn: 158689
Diffstat (limited to 'clang/test/Sema/inline.c')
-rw-r--r--clang/test/Sema/inline.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/test/Sema/inline.c b/clang/test/Sema/inline.c
index 99df8b1106b..7f1815e467d 100644
--- a/clang/test/Sema/inline.c
+++ b/clang/test/Sema/inline.c
@@ -1,5 +1,4 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
-// RUN: %clang_cc1 -fsyntax-only -verify -x c++ %s
#if defined(INCLUDE)
// -------
OpenPOWER on IntegriCloud