view clang/test/Index/annotate-tokens-unexposed.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

// RUN: c-index-test -test-annotate-tokens=%s:1:1:16:1 %s -target x86_64-pc-windows-msvc | FileCheck %s
class Foo
{
public:
    void step(int v);
    Foo();
};

void bar()
{
    // Introduce a MSInheritanceAttr node on the CXXRecordDecl for Foo. The
    // existance of this attribute should not mark all cursors for tokens in
    // Foo as UnexposedAttr.
    &Foo::step;
}

Foo::Foo()
{}

// CHECK-NOT: UnexposedAttr=