Teach ASTUnit to save the specified target features, since
commitdcf85a811e5b90aeab6da862ae2da3ecdeab4510
authorDouglas Gregor <doug.gregor@gmail.com>
Thu, 27 Jan 2011 18:02:58 +0000 (27 18:02 +0000)
committerDouglas Gregor <doug.gregor@gmail.com>
Thu, 27 Jan 2011 18:02:58 +0000 (27 18:02 +0000)
tree40a2542c850db9cb099b037d2db132f26f6b021e
parente29ec43eb35e13b7004400b3b97354205f05ab5f
Teach ASTUnit to save the specified target features, since
TargetInfo::CreateTargetInfo() mangles the target options in a way
that is not idempotent. Fixes <rdar://problem/8807535>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124382 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Frontend/ASTUnit.h
lib/Frontend/ASTUnit.cpp
tools/c-index-test/c-index-test.c