add clang for objc and objcpp

This commit is contained in:
Qusic
2017-05-20 00:41:57 +08:00
parent bb1f045d59
commit af6470c8d0
6 changed files with 88 additions and 0 deletions

17
doc/ale-objc.txt Normal file
View File

@@ -0,0 +1,17 @@
===============================================================================
ALE Objective-C Integration *ale-objc-options*
-------------------------------------------------------------------------------
clang *ale-objc-clang*
g:ale_objc_clang_options *g:ale_objc_clang_options*
*b:ale_objc_clang_options*
Type: |String|
Default: `'-std=c11 -Wall'`
This variable can be changed to modify flags given to clang.
-------------------------------------------------------------------------------
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:

17
doc/ale-objcpp.txt Normal file
View File

@@ -0,0 +1,17 @@
===============================================================================
ALE Objective-C++ Integration *ale-objcpp-options*
-------------------------------------------------------------------------------
clang *ale-objcpp-clang*
g:ale_objcpp_clang_options *g:ale_objcpp_clang_options*
*b:ale_objcpp_clang_options*
Type: |String|
Default: `'-std=c++14 -Wall'`
This variable can be changed to modify flags given to clang.
-------------------------------------------------------------------------------
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:

View File

@@ -52,6 +52,10 @@ CONTENTS *ale-contents*
kotlinc.............................|ale-kotlin-kotlinc|
lua...................................|ale-lua-options|
luacheck............................|ale-lua-luacheck|
objc..................................|ale-objc-options|
clang...............................|ale-objc-clang|
objcpp................................|ale-objcpp-options|
clang...............................|ale-objcpp-clang|
ocaml.................................|ale-ocaml-options|
merlin..............................|ale-ocaml-merlin|
perl..................................|ale-perl-options|
@@ -153,6 +157,8 @@ The following languages and tools are supported.
* nim: 'nim check'
* nix: 'nix-instantiate'
* nroff: 'proselint'
* Objective-C: 'clang'
* Objective-C++: 'clang'
* OCaml: 'merlin' (see |ale-linter-integration-ocaml-merlin|)
* Perl: 'perl' (-c flag), 'perlcritic'
* PHP: 'hack', 'php' (-l flag), 'phpcs', 'phpmd'