comparison clang/test/Index/index-suppress-refs.cpp @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
comparison
equal deleted inserted replaced
147:c2174574ed3a 150:1d019706d866
1
2 #include "index-suppress-refs.hpp"
3
4 class Sub : B1, B2 {
5 typedef B1 Base1;
6 typedef B2 Base2;
7 };
8
9 // RUN: env CINDEXTEST_SUPPRESSREFS=1 c-index-test -index-file %s | FileCheck %s
10 // CHECK: [indexDeclaration]: kind: c++-class | name: Sub
11 // CHECK-NOT: [indexEntityReference]: kind: c++-class | name: B1
12 // CHECK-NOT: [indexEntityReference]: kind: c++-class | name: B2