[driver] When creating the compiler invocation out of command-line
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 21 May 2012 20:11:54 +0000 (20:11 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 21 May 2012 20:11:54 +0000 (20:11 +0000)
commit3169e80603c9496c250a2f74455d5ad12bc6ea6d
treef7acce3ae47d888aeb24d9434a7f3b177a5a90d4
parent9bbf481f0203bd97038b4c9d8001476e0ac03c90
[driver] When creating the compiler invocation out of command-line
arguments, force use of clang frontend for the driver.

Fixes rdar://11356765.

llvm-svn: 157205
clang/include/clang/Driver/Driver.h
clang/lib/Driver/Driver.cpp
clang/lib/Driver/ToolChains.cpp
clang/lib/Frontend/ASTUnit.cpp
clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
clang/test/Index/index-kernel-invocation.cpp [new file with mode: 0644]