Congcong Cai 0249554ee1
[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.
2025-01-11 22:51:47 +08:00

4 lines
135 B
Plaintext

// RUN: clang-tidy %S/Inputs/normalized-path/error-config/../code.cpp --verify-config 2>&1 | FileCheck %s
// CHECK-NOT: Error parsing