[all-commits] [llvm/llvm-project] 3ad35b: [Templight] Don't display empty strings for names ...

Kristóf Umann via All-commits all-commits at lists.llvm.org
Mon Jan 24 07:37:39 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ad35ba4dea5240dd58476f0c85f0fe096d6c7ce
      https://github.com/llvm/llvm-project/commit/3ad35ba4dea5240dd58476f0c85f0fe096d6c7ce
  Author: Kristóf Umann <dkszelethus at gmail.com>
  Date:   2022-01-24 (Mon, 24 Jan 2022)

  Changed paths:
    M clang/lib/Frontend/FrontendActions.cpp
    A clang/test/Templight/templight-empty-entries-fix.cpp

  Log Message:
  -----------
  [Templight] Don't display empty strings for names of unnamed template parameters

Patch originally by oktal3000: https://github.com/mikael-s-persson/templight/pull/40

When a template parameter is unnamed, the name of -templight-dump might return
an empty string. This is fine, they are unnamed after all, but it might be more
user friendly to at least describe what entity is unnamed.

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




More information about the All-commits mailing list