summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.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/lib/Frontend/CompilerInvocation.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/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 1764c3ce9c8..6b2e93f21bf 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -2002,10 +2002,6 @@ static void ParsePreprocessorArgs(PreprocessorOptions &Opts, ArgList &Args,
for (const Arg *A : Args.filtered(OPT_chain_include))
Opts.ChainedIncludes.emplace_back(A->getValue());
- // Include 'altivec.h' if -faltivec option present
- if (Args.hasArg(OPT_faltivec))
- Opts.Includes.emplace_back("altivec.h");
-
for (const Arg *A : Args.filtered(OPT_remap_file)) {
std::pair<StringRef, StringRef> Split = StringRef(A->getValue()).split(';');
OpenPOWER on IntegriCloud