[all-commits] [llvm/llvm-project] 4ba623: [clang][Index][USR][NFC] Allow customizing langopt...

Balazs Benics via All-commits all-commits at lists.llvm.org
Wed Oct 30 07:20:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ba623f24479879fb7100988f6ad5d9a62c19842
      https://github.com/llvm/llvm-project/commit/4ba623f24479879fb7100988f6ad5d9a62c19842
  Author: Balazs Benics <benicsbalazs at gmail.com>
  Date:   2024-10-30 (Wed, 30 Oct 2024)

  Changed paths:
    M clang/include/clang/Index/USRGeneration.h
    M clang/lib/Index/USRGeneration.cpp

  Log Message:
  -----------
  [clang][Index][USR][NFC] Allow customizing langopts for USR generation (#109574)

This helps to produce USRs for custom LangOpts - that differ from the
one associated with the given Decl. This can unlock usecases in tooling
opportunities that we have downstream.

This is NFC because existing calls will still result in the right
overload, thus using the LangOpts associated with the ASTContext of the
Decls and Types.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list