[all-commits] [llvm/llvm-project] 530182: [clang][ExtractAPI] Don't print locations for anon...

Zixu Wang via All-commits all-commits at lists.llvm.org
Wed Oct 5 13:11:43 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5301826fa86aa520b65c86abbe3b3a7194849e27
      https://github.com/llvm/llvm-project/commit/5301826fa86aa520b65c86abbe3b3a7194849e27
  Author: Zixu Wang <zixu_wang at apple.com>
  Date:   2022-10-05 (Wed, 05 Oct 2022)

  Changed paths:
    M clang/lib/ExtractAPI/ExtractAPIConsumer.cpp

  Log Message:
  -----------
  [clang][ExtractAPI] Don't print locations for anonymous tags

ExtractAPI doesn't care about locations of anonymous TagDecls. Set the
printing policy to exclude that from anonymous decl names.

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




More information about the All-commits mailing list