llvm-project/clang-tools-extra/clangd/test/check.test

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
497 B
Plaintext
Raw Normal View History

// RUN: cp %s %t.cpp
// RUN: clangd -log=verbose -check=%t.cpp 2>&1 | FileCheck -strict-whitespace %s
// CHECK: Testing on source file
// CHECK: internal (cc1) args are: -cc1
// CHECK: Building preamble...
// CHECK: Built preamble
// CHECK: Building AST...
// CHECK: Testing features at each token
// CHECK-DAG: tweak: ExpandAuto
// CHECK-DAG: hover: true
// CHECK-DAG: tweak: AddUsing
// CHECK: All checks completed, 0 errors
namespace ns {
struct Foo {};
} // namespace ns
auto f = ns::Foo();