llvm-project/clang/test/Index/index-builtin-ppc.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
234 B
C++

void testPpc(__vector_quad);
// CHECK: USR: c:@F@testPpc#@BT@__vector_quad#
void testIBM(__ibm128);
// CHECK: USR: c:@F@testIBM#@BT@__ibm128#
//
// RUN: c-index-test -index-file %s --target=powerpc64 -target-cpu pwr10 | FileCheck %s