aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cppcheck
diff options
context:
space:
mode:
authorShohei YOSHIDA <syohex@gmail.com>2024-08-04 14:19:29 +0900
committerShohei YOSHIDA <syohex@gmail.com>2024-08-04 14:19:29 +0900
commit4dfb7a51c5ae9fa61ff0cbe94538d49676687484 (patch)
tree4fd7ae5198ba142f760426062b1bb1b7f118cecb /src/_cppcheck
parentUpdate clang-tidy completion (diff)
downloadzsh-completions-4dfb7a51c5ae9fa61ff0cbe94538d49676687484.tar
zsh-completions-4dfb7a51c5ae9fa61ff0cbe94538d49676687484.tar.gz
zsh-completions-4dfb7a51c5ae9fa61ff0cbe94538d49676687484.tar.bz2
zsh-completions-4dfb7a51c5ae9fa61ff0cbe94538d49676687484.tar.lz
zsh-completions-4dfb7a51c5ae9fa61ff0cbe94538d49676687484.tar.xz
zsh-completions-4dfb7a51c5ae9fa61ff0cbe94538d49676687484.tar.zst
zsh-completions-4dfb7a51c5ae9fa61ff0cbe94538d49676687484.zip
Cleanup code
Diffstat (limited to 'src/_cppcheck')
-rw-r--r--src/_cppcheck5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/_cppcheck b/src/_cppcheck
index e8ab3fe..859f656 100644
--- a/src/_cppcheck
+++ b/src/_cppcheck
@@ -49,12 +49,9 @@ _cppcheck_files() {
}
_cppcheck() {
- local curcontext="$curcontext" state line
- typeset -A opt_args
-
local check_ids='(all warning style performance portability information unusedFunction missingInclude)'
- _arguments -C \
+ _arguments \
"--addon=[Execute addon]" \
"--addon-python=[Specify the python interpreter]: :_files" \
"--cppcheck-build-dir=[Analysis output directory]:directory:_files -/" \