summaryrefslogtreecommitdiff
path: root/clang/test/Index/index-suppress-refs.cpp
blob: 113dd4076c301e6628650a53a5f07e0009017a7f (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12

#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