Move setting of LangOpts based on target flags out of CompilerInstance
authorEric Christopher <echristo@gmail.com>
Wed, 22 Mar 2017 06:36:09 +0000 (06:36 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 22 Mar 2017 06:36:09 +0000 (06:36 +0000)
commit3646e6289d9fc8678f0b53b466974d6010e3a1b8
treeb8372bbd47feae79d3fa2ddbf62a2e2b50c88260
parent57d8ca72d1a9beaf4ba1e042395a0d110b7629d8
Move setting of LangOpts based on target flags out of CompilerInstance
and into TargetInfo::adjust so that it gets called in more places
throughout the compiler (AST serialization in particular).

Should fix PPC modules after removing of faltivec.

llvm-svn: 298487
clang/include/clang/Basic/TargetInfo.h
clang/lib/Basic/TargetInfo.cpp
clang/lib/Basic/Targets.cpp
clang/lib/Frontend/CompilerInstance.cpp