diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-05-21 20:11:54 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-05-21 20:11:54 +0000 |
commit | 3169e80603c9496c250a2f74455d5ad12bc6ea6d (patch) | |
tree | f7acce3ae47d888aeb24d9434a7f3b177a5a90d4 /clang/test/Index/index-kernel-invocation.cpp | |
parent | 9bbf481f0203bd97038b4c9d8001476e0ac03c90 (diff) | |
download | bcm5719-llvm-3169e80603c9496c250a2f74455d5ad12bc6ea6d.tar.gz bcm5719-llvm-3169e80603c9496c250a2f74455d5ad12bc6ea6d.zip |
[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
Diffstat (limited to 'clang/test/Index/index-kernel-invocation.cpp')
-rw-r--r-- | clang/test/Index/index-kernel-invocation.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Index/index-kernel-invocation.cpp b/clang/test/Index/index-kernel-invocation.cpp new file mode 100644 index 00000000000..dba8e6b91a0 --- /dev/null +++ b/clang/test/Index/index-kernel-invocation.cpp @@ -0,0 +1,4 @@ +// RUN: c-index-test -index-file -arch i386 -mkernel %s | FileCheck %s + +// CHECK: [indexDeclaration]: kind: function | name: foobar +void foobar(void); |