view clang-tools-extra/clangd/test/check.test @ 221:79ff65ed7e25

LLVM12 Original
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 15 Jun 2021 19:15:29 +0900
parents
children c4bab56944e8
line wrap: on
line source

// 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();