view clang/test/Index/index-suppress-refs.cpp @ 173:0572611fdcc8 llvm10 llvm12

reorgnization done
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 11:55:54 +0900
parents 1d019706d866
children
line wrap: on
line source


#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