HomePhabricator

clang-tidy: don't use an absolute path in a test

Authored by george.burgess.iv on Nov 22 2019, 6:13 PM.

Description

clang-tidy: don't use an absolute path in a test

run_clang_tidy takes a regular expression to match against
compile_commands.json entries. If we pass "%t/test.cpp" and "%t" expands
to anything that includes chars that a regex treats specially, like '+',
this test starts failing.

Details

Committed
george.burgess.ivNov 22 2019, 6:13 PM
Parents
rGe956952edec1: DebugInfo: Flag Dwarf Version metadata for merging during LTO
Branches
Unknown
Tags
Unknown