[all-commits] [llvm/llvm-project] 9f13a0: clang-tidy: don't use an absolute path in a test

George Burgess IV via All-commits all-commits at lists.llvm.org
Fri Nov 22 18:13:29 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f13a032b6d7f720caf6511d0c9b1b6b7d2bbc67
      https://github.com/llvm/llvm-project/commit/9f13a032b6d7f720caf6511d0c9b1b6b7d2bbc67
  Author: George Burgess IV <george.burgess.iv at gmail.com>
  Date:   2019-11-22 (Fri, 22 Nov 2019)

  Changed paths:
    M clang-tools-extra/test/clang-tidy/infrastructure/run-clang-tidy.cpp

  Log Message:
  -----------
  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.




More information about the All-commits mailing list