llvm-project/clang/test/Index/index-builtin-sve.cpp
Ben Barham 699ae92f04 [Index] Add various missing USR generation
Over the years there's been many builtin types added without
corresponding USRs. Add a `@BT@<name>` USR for all these types. Also add
a comment so that hopefully this doesn't continue happening.

`MSGuid` was also missing a USR, use `@MG@GUID{<uuid>}` for it.

Resolves rdar://102198268.

Differential Revision: https://reviews.llvm.org/D138322
2022-11-28 11:51:08 -08:00

8 lines
262 B
C++

void testSve(__SVInt8_t sve);
// CHECK: USR: c:@F@testSve#@BT@__SVInt8_t#
void testBf16(__bf16);
// CHECK: USR: c:@F@testBf16#@BT@__bf16#
// RUN: c-index-test -index-file %s --target=aarch64 -target-feature +bf16 -target-feature +sve -std=c++11 | FileCheck %s