[clang-tidy][test] Add trailing -- to suppress compile_commands.json read
authorFangrui Song <i@maskray.me>
Sun, 14 May 2023 21:12:16 +0000 (14:12 -0700)
committerFangrui Song <i@maskray.me>
Sun, 14 May 2023 21:12:16 +0000 (14:12 -0700)
commit626849c71e85d546a004cc91866beab610222194
treeaa2056f680fb951fd07f3e6f46191ecaa5171340
parentebbcbb2af51a702fe804cc8c08f176e9989e9fe3
[clang-tidy][test] Add trailing -- to suppress compile_commands.json read

This fixes some build bots if we reland D150505: specifically when using GCC to
build LLVM and then `-fno-lifetime-dse` ends up passed to compile_commands.json
and causing clang-tidy to pick up the Clang unknown option.
clang-tools-extra/test/clang-tidy/checkers/performance/trivially-destructible.cpp