YouCompleteMe/cpp/llvm/tools/clang/test/Index/index-suppress-refs.cpp
Strahinja Val Markovic 1f51a89d39 Adding more llvm/clang files
These were ignored by git accidentally. We want ALL OF THEM since they all came
in the llvm/clang source distribution.
2012-07-05 17:55:45 -07:00

13 lines
378 B
C++

#include "index-suppress-refs.hpp"
class Sub : B1, B2 {
typedef B1 Base1;
typedef B2 Base2;
};
// RUN: env CINDEXTEST_SUPPRESSREFS=1 c-index-test -index-file %s | FileCheck %s
// CHECK: [indexDeclaration]: kind: c++-class | name: Sub
// CHECK-NOT: [indexEntityReference]: kind: c++-class | name: B1
// CHECK-NOT: [indexEntityReference]: kind: c++-class | name: B2