llvm-project/clang/test/Index/index-builtin-riscv.c
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

6 lines
202 B
C

__attribute__((overloadable))
void testRiscv(__rvv_int8mf8_t);
// CHECK: USR: c:@F@testRiscv#@BT@__rvv_int8mf8_t#
// RUN: c-index-test -index-file %s --target=riscv64 -target-feature +v | FileCheck %s