diff options
author | Eric Christopher <echristo@gmail.com> | 2016-03-24 01:26:08 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2016-03-24 01:26:08 +0000 |
commit | 43dc555430c1df25ec0712ab3bafdfc095909d3f (patch) | |
tree | b53b4dc36f25059578038f6e0986f6bb7954d622 /lib/Frontend/CompilerInvocation.cpp | |
parent | eed291ac888728334c44b62d0c4d77aa7c345d26 (diff) | |
download | clang-43dc555430c1df25ec0712ab3bafdfc095909d3f.tar.gz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264235 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | lib/Frontend/CompilerInvocation.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp index 1764c3ce9c..6b2e93f21b 100644 --- a/lib/Frontend/CompilerInvocation.cpp +++ b/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(';'); |