Skip to content

Commit 08a26a1

Browse files
John B. Wyatt IVshuahkh
authored andcommitted
pm: cpupower: gitignore: Add compile_commands.json
A compile_commands.json file is used by the LSP in tools like VSCode and Neovim to look up function and type information. The file is specific to the state of the current system; add it to the gitignore. Note: the kernel root's gitignore has a similar entry: /compile_commands.json I am not sure why they use '/' for a file as it is used for directories. Signed-off-by: "John B. Wyatt IV" <jwyatt@redhat.com> Signed-off-by: "John B. Wyatt IV" <sageofredondo@gmail.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
1 parent f79473e commit 08a26a1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/power/cpupower/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ debug/i386/intel_gsic
2727
debug/i386/powernow-k8-decode
2828
debug/x86_64/centrino-decode
2929
debug/x86_64/powernow-k8-decode
30+
31+
# Clang's compilation database file
32+
compile_commands.json

0 commit comments

Comments
 (0)