[all-commits] [llvm/llvm-project] 024955: [clang-tidy] fix incorrect configuration file path...

Congcong Cai via All-commits all-commits at lists.llvm.org
Sat Jan 11 06:52:09 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0249554ee1ac49e6f1d93fa78a55971fc706f635
      https://github.com/llvm/llvm-project/commit/0249554ee1ac49e6f1d93fa78a55971fc706f635
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2025-01-11 (Sat, 11 Jan 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/ClangTidyOptions.cpp
    M clang-tools-extra/clang-tidy/ClangTidyOptions.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/test/clang-tidy/infrastructure/Inputs/normalized-path/code.cpp
    A clang-tools-extra/test/clang-tidy/infrastructure/Inputs/normalized-path/error-config/.clang-tidy
    A clang-tools-extra/test/clang-tidy/infrastructure/normalized-path.test

  Log Message:
  -----------
  [clang-tidy] fix incorrect configuration file path resolving when file paths contain `..` (#121323)

`makeAbsolute` will not normalize path. When getting parent folder, `..`
will go into the subfolder instead of the parent folder.



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