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 | 465027231010d7abaca1ecf8aafc7f61f23bbcd5 (patch) | |
tree | 3994120fb318da19966d0b0f16faa29d2b0a1e9d /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | b29ecbd4e9149c474a6ed3fe9fb4c30f3dcbbe66 (diff) | |
download | bcm5719-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.cpp | 4 |
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(';'); |