]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
pm: cpupower: gitignore: Add compile_commands.json
authorJohn B. Wyatt IV <jwyatt@redhat.com>
Mon, 30 Sep 2024 17:22:55 +0000 (13:22 -0400)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 30 Sep 2024 19:51:27 +0000 (13:51 -0600)
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>
tools/power/cpupower/.gitignore

index 7677329c42a647c6824307a8eed7b695bd9d9105..5113d5a7aee0fd2e0f183cb16f724cec1978294c 100644 (file)
@@ -27,3 +27,6 @@ debug/i386/intel_gsic
 debug/i386/powernow-k8-decode
 debug/x86_64/centrino-decode
 debug/x86_64/powernow-k8-decode
+
+# Clang's compilation database file
+compile_commands.json