[all-commits] [llvm/llvm-project] 699ae9: [Index] Add various missing USR generation

Ben Barham via All-commits all-commits at lists.llvm.org
Mon Nov 28 11:51:26 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 699ae92f045331b555394b8b9757d7e0fbf97100
      https://github.com/llvm/llvm-project/commit/699ae92f045331b555394b8b9757d7e0fbf97100
  Author: Ben Barham <ben_barham at apple.com>
  Date:   2022-11-28 (Mon, 28 Nov 2022)

  Changed paths:
    M clang/lib/Index/USRGeneration.cpp
    A clang/test/Index/index-builtin-fixedpoint.c
    A clang/test/Index/index-builtin-opencl.clcpp
    A clang/test/Index/index-builtin-ppc.cpp
    A clang/test/Index/index-builtin-riscv.c
    A clang/test/Index/index-builtin-sve.cpp
    A clang/test/Index/index-msguid.cpp

  Log Message:
  -----------
  [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 at GUID{<uuid>}` for it.

Resolves rdar://102198268.

Differential Revision: https://reviews.llvm.org/D138322




More information about the All-commits mailing list