mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-15 04:00:56 +00:00
c3682a22c2
See https://github.com/clangd/clangd/issues/649#issuecomment-885903316. Also disables config support in lit tests to make sure tests are not affected by clangd config files lying around. Differential Revision: https://reviews.llvm.org/D107130
16 lines
504 B
Plaintext
16 lines
504 B
Plaintext
// RUN: cp %s %t.cpp
|
|
// RUN: not clangd -enable-config=0 -check=%t.cpp 2>&1 | FileCheck -strict-whitespace %s
|
|
|
|
// CHECK: Testing on source file {{.*}}check-fail.test
|
|
// CHECK: internal (cc1) args are: -cc1
|
|
// CHECK: Building preamble...
|
|
// CHECK: [pp_file_not_found] Line {{.*}}: 'missing.h' file not found
|
|
// CHECK: Building AST...
|
|
// CHECK: Testing features at each token
|
|
// CHECK: tweak: ExpandAutoType ==> FAIL
|
|
// CHECK: All checks completed, 2 errors
|
|
|
|
#include "missing.h"
|
|
void fun();
|
|
auto x = fun;
|