summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/cxx-altivec.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2016-03-24 01:26:08 +0000
committerEric Christopher <echristo@gmail.com>2016-03-24 01:26:08 +0000
commit465027231010d7abaca1ecf8aafc7f61f23bbcd5 (patch)
tree3994120fb318da19966d0b0f16faa29d2b0a1e9d /clang/test/Parser/cxx-altivec.cpp
parentb29ecbd4e9149c474a6ed3fe9fb4c30f3dcbbe66 (diff)
downloadbcm5719-llvm-465027231010d7abaca1ecf8aafc7f61f23bbcd5.tar.gz
bcm5719-llvm-465027231010d7abaca1ecf8aafc7f61f23bbcd5.zip
The time when -faltivec (or, on clang only, -maltivec) will magically
include altivec.h has come and gone. Rationale: This causes modules, rewrite-includes, etc to be sad and people should just include altivec.h in their source. llvm-svn: 264235
Diffstat (limited to 'clang/test/Parser/cxx-altivec.cpp')
-rw-r--r--clang/test/Parser/cxx-altivec.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Parser/cxx-altivec.cpp b/clang/test/Parser/cxx-altivec.cpp
index ac20de288f1..5b0da6c5e6f 100644
--- a/clang/test/Parser/cxx-altivec.cpp
+++ b/clang/test/Parser/cxx-altivec.cpp
@@ -1,6 +1,7 @@
// RUN: %clang_cc1 -triple=powerpc-apple-darwin8 -faltivec -fsyntax-only -verify -std=c++11 %s
// RUN: %clang_cc1 -triple=powerpc64-unknown-linux-gnu -faltivec -fsyntax-only -verify -std=c++11 %s
// RUN: %clang_cc1 -triple=powerpc64le-unknown-linux-gnu -faltivec -fsyntax-only -verify -std=c++11 %s
+#include <altivec.h>
__vector char vv_c;
__vector signed char vv_sc;
OpenPOWER on IntegriCloud