diff options
author | Alex Lorenz <arphaman@gmail.com> | 2017-04-27 13:47:03 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2017-04-27 13:47:03 +0000 |
commit | 7b3b5244b4ba33e049682f829f52ec796aa34637 (patch) | |
tree | c6d5afe8b1fcb5f64d1b63fecb0e01756e0d5168 /test/Index/allow-editor-placeholders.cpp | |
parent | 60162ecf3df827e26424861ff232655e00d6f85f (diff) |
[libclang] Pass in the -fallow-editor-placeholders option
This will suppress any live diagnostics caused by editor placeholders in Xcode.
rdar://31833579
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@301542 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/allow-editor-placeholders.cpp')
-rw-r--r-- | test/Index/allow-editor-placeholders.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Index/allow-editor-placeholders.cpp b/test/Index/allow-editor-placeholders.cpp new file mode 100644 index 0000000000..5a7207d3f0 --- /dev/null +++ b/test/Index/allow-editor-placeholders.cpp @@ -0,0 +1,5 @@ +// RUN: c-index-test -test-load-source all %s 2>&1 | FileCheck %s + +<#placeholder#>; + +// CHECK-NOT: error |