[all-commits] [llvm/llvm-project] 5aae0e: [clang-tidy] give dummy path when create ClangTidy...

Congcong Cai via All-commits all-commits at lists.llvm.org
Mon Apr 7 19:48:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5aae0ee660ffdae057d7c5c0e851b5620586d042
      https://github.com/llvm/llvm-project/commit/5aae0ee660ffdae057d7c5c0e851b5620586d042
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2025-04-08 (Tue, 08 Apr 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp

  Log Message:
  -----------
  [clang-tidy] give dummy path when create ClangTidyContext (#134670)

#121323 changed the way the absolute path is computed. Empty file name
will cause absolute path ignore current folder.
This patch add "dummy" file name to avoid this issue
Fixed: #134502



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