aboutsummaryrefslogtreecommitdiff
path: root/vim/bundle/syntastic/syntax_checkers/cpp
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-06-30 16:11:56 +0200
committerKarel Kočí <cynerd@email.cz>2016-06-30 16:11:56 +0200
commit9931e0888b2419326ae10ebbfae532261c5c125f (patch)
tree7504be5daccbb7b7d1ea396754de47b11ed790e5 /vim/bundle/syntastic/syntax_checkers/cpp
parente573b3020c032400eed60b649a2cbf55266e6bb0 (diff)
downloadmyconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.tar.gz
myconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.tar.bz2
myconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.zip
Fix submodules
Diffstat (limited to 'vim/bundle/syntastic/syntax_checkers/cpp')
m---------vim/bundle/syntastic0
-rw-r--r--vim/bundle/syntastic/syntax_checkers/cpp/clang_check.vim22
-rw-r--r--vim/bundle/syntastic/syntax_checkers/cpp/clang_tidy.vim22
-rw-r--r--vim/bundle/syntastic/syntax_checkers/cpp/cppcheck.vim22
-rw-r--r--vim/bundle/syntastic/syntax_checkers/cpp/cpplint.vim52
-rw-r--r--vim/bundle/syntastic/syntax_checkers/cpp/gcc.vim56
-rw-r--r--vim/bundle/syntastic/syntax_checkers/cpp/oclint.vim22
-rw-r--r--vim/bundle/syntastic/syntax_checkers/cpp/pc_lint.vim23
-rw-r--r--vim/bundle/syntastic/syntax_checkers/cpp/verapp.vim48
9 files changed, 0 insertions, 267 deletions
diff --git a/vim/bundle/syntastic b/vim/bundle/syntastic
new file mode 160000
+Subproject cee74e0c1af934065fd1b3046e53cda76574f70
diff --git a/vim/bundle/syntastic/syntax_checkers/cpp/clang_check.vim b/vim/bundle/syntastic/syntax_checkers/cpp/clang_check.vim
deleted file mode 100644
index cf9ec0c..0000000
--- a/vim/bundle/syntastic/syntax_checkers/cpp/clang_check.vim
+++ /dev/null
@@ -1,22 +0,0 @@
-"============================================================================
-"File: clang_check.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Benjamin Bannier <bbannier at gmail dot com>
-"License: This program is free software. It comes without any warranty,
-" to the extent permitted by applicable law. You can redistribute
-" it and/or modify it under the terms of the Do What The Fuck You
-" Want To Public License, Version 2, as published by Sam Hocevar.
-" See http://sam.zoy.org/wtfpl/COPYING for more details.
-"============================================================================
-
-if exists('g:loaded_syntastic_cpp_clang_check_checker')
- finish
-endif
-let g:loaded_syntastic_cpp_clang_check_checker = 1
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'cpp',
- \ 'name': 'clang_check',
- \ 'redirect': 'c/clang_check'})
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/vim/bundle/syntastic/syntax_checkers/cpp/clang_tidy.vim b/vim/bundle/syntastic/syntax_checkers/cpp/clang_tidy.vim
deleted file mode 100644
index 770d1f6..0000000
--- a/vim/bundle/syntastic/syntax_checkers/cpp/clang_tidy.vim
+++ /dev/null
@@ -1,22 +0,0 @@
-"============================================================================
-"File: clang_tidy.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Benjamin Bannier <bbannier at gmail dot com>
-"License: This program is free software. It comes without any warranty,
-" to the extent permitted by applicable law. You can redistribute
-" it and/or modify it under the terms of the Do What The Fuck You
-" Want To Public License, Version 2, as published by Sam Hocevar.
-" See http://sam.zoy.org/wtfpl/COPYING for more details.
-"============================================================================
-
-if exists('g:loaded_syntastic_cpp_clang_tidy_checker')
- finish
-endif
-let g:loaded_syntastic_cpp_clang_tidy_checker = 1
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'cpp',
- \ 'name': 'clang_tidy',
- \ 'redirect': 'c/clang_tidy'})
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/vim/bundle/syntastic/syntax_checkers/cpp/cppcheck.vim b/vim/bundle/syntastic/syntax_checkers/cpp/cppcheck.vim
deleted file mode 100644
index 4e0eb86..0000000
--- a/vim/bundle/syntastic/syntax_checkers/cpp/cppcheck.vim
+++ /dev/null
@@ -1,22 +0,0 @@
-"============================================================================
-"File: cppcheck.vim
-"Description: Syntax checking plugin for syntastic.vim using cppcheck.pl
-"Maintainer: LCD 47 <lcd047 at gmail dot com>
-"License: This program is free software. It comes without any warranty,
-" to the extent permitted by applicable law. You can redistribute
-" it and/or modify it under the terms of the Do What The Fuck You
-" Want To Public License, Version 2, as published by Sam Hocevar.
-" See http://sam.zoy.org/wtfpl/COPYING for more details.
-"============================================================================
-
-if exists('g:loaded_syntastic_cpp_cppcheck_checker')
- finish
-endif
-let g:loaded_syntastic_cpp_cppcheck_checker = 1
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'cpp',
- \ 'name': 'cppcheck',
- \ 'redirect': 'c/cppcheck'})
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/vim/bundle/syntastic/syntax_checkers/cpp/cpplint.vim b/vim/bundle/syntastic/syntax_checkers/cpp/cpplint.vim
deleted file mode 100644
index 54984bb..0000000
--- a/vim/bundle/syntastic/syntax_checkers/cpp/cpplint.vim
+++ /dev/null
@@ -1,52 +0,0 @@
-"============================================================================
-"File: cpplint.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: LCD 47 <lcd047 at gmail dot com>
-"License: This program is free software. It comes without any warranty,
-" to the extent permitted by applicable law. You can redistribute
-" it and/or modify it under the terms of the Do What The Fuck You
-" Want To Public License, Version 2, as published by Sam Hocevar.
-" See http://sam.zoy.org/wtfpl/COPYING for more details.
-"
-"============================================================================
-
-if exists('g:loaded_syntastic_cpp_cpplint_checker')
- finish
-endif
-let g:loaded_syntastic_cpp_cpplint_checker = 1
-
-if !exists('g:syntastic_cpp_cpplint_thres')
- let g:syntastic_cpp_cpplint_thres = 5
-endif
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_cpp_cpplint_GetLocList() dict
- let makeprg = self.makeprgBuild({ 'args': '--verbose=3' })
-
- let errorformat = '%A%f:%l: %m [%t],%-G%.%#'
-
- let loclist = SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'subtype': 'Style',
- \ 'returns': [0, 1] })
-
- " change error types according to the prescribed threshold
- for e in loclist
- let e['type'] = e['type'] < g:syntastic_cpp_cpplint_thres ? 'W' : 'E'
- endfor
-
- return loclist
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'cpp',
- \ 'name': 'cpplint',
- \ 'exec': 'cpplint.py'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/vim/bundle/syntastic/syntax_checkers/cpp/gcc.vim b/vim/bundle/syntastic/syntax_checkers/cpp/gcc.vim
deleted file mode 100644
index 1243980..0000000
--- a/vim/bundle/syntastic/syntax_checkers/cpp/gcc.vim
+++ /dev/null
@@ -1,56 +0,0 @@
-"============================================================================
-"File: cpp.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Gregor Uhlenheuer <kongo2002 at gmail dot com>
-"License: This program is free software. It comes without any warranty,
-" to the extent permitted by applicable law. You can redistribute
-" it and/or modify it under the terms of the Do What The Fuck You
-" Want To Public License, Version 2, as published by Sam Hocevar.
-" See http://sam.zoy.org/wtfpl/COPYING for more details.
-"
-"============================================================================
-
-if exists('g:loaded_syntastic_cpp_gcc_checker')
- finish
-endif
-let g:loaded_syntastic_cpp_gcc_checker = 1
-
-if !exists('g:syntastic_cpp_compiler_options')
- let g:syntastic_cpp_compiler_options = ''
-endif
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_cpp_gcc_IsAvailable() dict
- if !exists('g:syntastic_cpp_compiler')
- let g:syntastic_cpp_compiler = executable(self.getExec()) ? self.getExec() : 'clang++'
- endif
- call self.log('g:syntastic_cpp_compiler =', g:syntastic_cpp_compiler)
- return executable(expand(g:syntastic_cpp_compiler, 1))
-endfunction
-
-function! SyntaxCheckers_cpp_gcc_GetLocList() dict
- return syntastic#c#GetLocList('cpp', 'gcc', {
- \ 'errorformat':
- \ '%-G%f:%s:,' .
- \ '%f:%l:%c: %trror: %m,' .
- \ '%f:%l:%c: %tarning: %m,' .
- \ '%f:%l:%c: %m,'.
- \ '%f:%l: %trror: %m,'.
- \ '%f:%l: %tarning: %m,'.
- \ '%f:%l: %m',
- \ 'main_flags': '-x c++ -fsyntax-only',
- \ 'header_flags': '-x c++',
- \ 'header_names': '\m\.\(h\|hpp\|hh\)$' })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'cpp',
- \ 'name': 'gcc',
- \ 'exec': 'g++' })
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/vim/bundle/syntastic/syntax_checkers/cpp/oclint.vim b/vim/bundle/syntastic/syntax_checkers/cpp/oclint.vim
deleted file mode 100644
index 8217769..0000000
--- a/vim/bundle/syntastic/syntax_checkers/cpp/oclint.vim
+++ /dev/null
@@ -1,22 +0,0 @@
-"============================================================================
-"File: oclint.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: "UnCO" Lin <undercooled aT lavabit com>
-"License: This program is free software. It comes without any warranty,
-" to the extent permitted by applicable law. You can redistribute
-" it and/or modify it under the terms of the Do What The Fuck You
-" Want To Public License, Version 2, as published by Sam Hocevar.
-" See http://sam.zoy.org/wtfpl/COPYING for more details.
-"============================================================================
-
-if exists('g:loaded_syntastic_cpp_oclint_checker')
- finish
-endif
-let g:loaded_syntastic_cpp_oclint_checker = 1
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'cpp',
- \ 'name': 'oclint',
- \ 'redirect': 'c/oclint'})
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/vim/bundle/syntastic/syntax_checkers/cpp/pc_lint.vim b/vim/bundle/syntastic/syntax_checkers/cpp/pc_lint.vim
deleted file mode 100644
index a7c95e8..0000000
--- a/vim/bundle/syntastic/syntax_checkers/cpp/pc_lint.vim
+++ /dev/null
@@ -1,23 +0,0 @@
-"============================================================================
-"File: pc_lint.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Steve Bragg <steve at empresseffects dot com>
-"License: This program is free software. It comes without any warranty,
-" to the extent permitted by applicable law. You can redistribute
-" it and/or modify it under the terms of the Do What The Fuck You
-" Want To Public License, Version 2, as published by Sam Hocevar.
-" See http://sam.zoy.org/wtfpl/COPYING for more details.
-"
-"============================================================================
-
-if exists('g:loaded_syntastic_cpp_pc_lint_checker')
- finish
-endif
-let g:loaded_syntastic_cpp_pc_lint_checker = 1
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'cpp',
- \ 'name': 'pc_lint',
- \ 'redirect': 'c/pc_lint'})
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/vim/bundle/syntastic/syntax_checkers/cpp/verapp.vim b/vim/bundle/syntastic/syntax_checkers/cpp/verapp.vim
deleted file mode 100644
index af1fd8c..0000000
--- a/vim/bundle/syntastic/syntax_checkers/cpp/verapp.vim
+++ /dev/null
@@ -1,48 +0,0 @@
-"============================================================================
-"File: verapp.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Lucas Verney <phyks@phyks.me>
-"License: This program is free software. It comes without any warranty,
-" to the extent permitted by applicable law. You can redistribute
-" it and/or modify it under the terms of the Do What The Fuck You
-" Want To Public License, Version 2, as published by Sam Hocevar.
-" See http://sam.zoy.org/wtfpl/COPYING for more details.
-"
-" Tested with Vera++ 1.3.0
-"============================================================================
-
-if exists('g:loaded_syntastic_cpp_verapp_checker')
- finish
-endif
-let g:loaded_syntastic_cpp_verapp_checker = 1
-
-if !exists('g:syntastic_verapp_config_file')
- let g:syntastic_verapp_config_file = '.syntastic_verapp_config'
-endif
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_cpp_verapp_GetLocList() dict
- let makeprg = self.makeprgBuild({
- \ 'args': syntastic#c#ReadConfig(g:syntastic_verapp_config_file),
- \ 'args_after': '--show-rule --no-duplicate -S -c -' })
-
- let errorformat = '%f:%t:%l:%c:%m'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'preprocess': 'checkstyle',
- \ 'subtype': 'Style' })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'cpp',
- \ 'name': 'verapp',
- \ 'exec': 'vera++'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker: