summaryrefslogtreecommitdiff
path: root/ale_linters/cpp
AgeCommit message (Collapse)Author
2018-08-02Simplify the code for most linters and tests with closuresw0rp
2018-07-30Indicate that a C compiler failed due to problems in a header filew0rp
2018-07-29Add support for parsing compile_commands.json files for C compilersw0rp
2018-07-04Make the language option for LSP linters optionalw0rp
2018-06-07#1635 - Use the project base rather than its parent for cqueryBen Falconer
2018-06-06Add the cquery LSP #1475 #1594Ben Falconer
2018-04-10Fix #1490 - Rename the g++ linter to gcc, and add an alias for the old namew0rp
2018-03-28Flawfinder for C++:christian-gibbons
Fix missing variable causing flawfinder to fail for c++
2018-03-27#1167 Use the make -n parsing for C++ compilers, and document the new optionw0rp
2018-03-10Handle flawfinder severity level (#1400)Christian-Gibbons
* Handle flawfinder severity level * Reverted code allowing Flawfinder to piggyback off of gcc's format handler * Gave Flawfinder its own format handler and made requested changes.
2018-02-25New linter: Flawfinder (#1361)Christian-Gibbons
* Flawfinder support added for C and C++ A minor modification to gcc handler was made to support flawfinder's single-line output format that does not have a space following the colon denoting the warning level. gcc handler still passes its Vader tests after this modification. * Documentation fixes * Revert documentation regression * Added Flawfinder to table of contents * Removed trailing whitespace * Follow ALE conventions better Added additional documentation and Vader tests
2018-01-02Fix #1255: Move extra clang-check args to before user optionsJonatan Olofsson
2017-07-20#782 - Do not set the build directory for clang-tidy for header files, which ↵w0rp
does not work
2017-07-17#703 Add arguments to avoid generating plist files if no build directory is ↵w0rp
detected for clang-check
2017-07-17Fix another executable callback typow0rp
2017-07-17#711 - Make the cpplint executable configurablew0rp
2017-07-17#711 - Make the clangtidy executable configurablew0rp
2017-07-16#711 - Make the clangcheck executable configurablew0rp
2017-07-16#711 - Make the gcc executables configurablew0rp
2017-07-16#711 - Make the cppcheck executables configurablew0rp
2017-07-16#711 - Make the clang executables configurablew0rp
2017-07-05Correctly pass options to cpplint (#728)Wil Thomason
* Fix option passing to cpplint
2017-06-25Move ale#handlers#c functions into ale#cw0rp
2017-06-24Add clangcheck Linter to cpp (#686)Gagbo
Add a clangcheck linter
2017-06-24Added builddir option to clang-tidy to point to json folder (#688)Gagbo
Detect compille_commands.json files for clang-tidy
2017-05-31Fix #557 - Detect C project roots and include root directories with headers, ↵w0rp
or include directories
2017-05-16Add cpplint linterDawid Kurek
2017-05-12#549 Temporarily revert shell escaping changes, just for Windowsw0rp
2017-05-08#540 Fix shell escaping pretty much everywherew0rp
2017-05-02Fix #410 - Use compile_commands.json files for clang-tidy, and check files ↵w0rp
on disk instead
2017-05-02#392 - Detect and use compile_commands.json for cppcheckw0rp
2017-04-29Set GCC flags appropriately for older versionsw0rp
2017-04-24Break shared handlers up into their own files, and fix stylelint error handlingw0rp
2017-04-16#427 Implement buffer variable overrides for all linter optionsw0rp
2017-04-15Make code more consistentw0rp
2017-04-11#392 Report errors inside of headers, in a very basic wayw0rp
2017-03-11#277 #318 Support all same-directory includes for gcc and clangw0rp
2017-03-01Use latest C++ standardequal-l2
2017-02-16Fix clang++ flag typo.Andrea Caforio
2017-02-11Fix the clangtidy linter, and document everythingw0rp
2017-02-11Add clang-tidy linter for cpp. (#275)Tim van Deurzen
* Add clang-tidy linter for cpp. * Use stdin-wrapper to allow linting as you type.
2017-02-11Replace every stdin-wrapper script with the new %t formatting supportw0rp
2017-02-11Add clang to cpp linters.tomotanakamura
2016-12-24Added ability to reload compilation flags for c and c++ after loading plugingrzebiel
2016-10-21Add support for dot-seperate linters, improve linter testsBjorn Neergaard
This PR first and formost implements support for dot-seperate filetypes, a very trivial change. This closes #132 But more importantly, this PR vastly improves the test quality for `ale#linter#Get`. It enables us to reset the state of ale's internal linter cache, to facilitate better testing, as well as making use of mocked linters instead of depending on linters on disk (which may change). In addition, a dummy linter is defined to test the autoloading behavior. Header guards were removed from all linters as: * A: ale won't try and load linters if they already exist in memory * B: we can't reset state for testing if they can't be loaded again
2016-10-21make it less verbose for c and cppehzShelter
2016-10-21Added c++14 standard support and POSIX API compile time linker flags for ↵ehzShelter
avoiding annoying errors and warnings
2016-10-20Add support for cppcheck (#126)Bart Libert
* Add support for cppcheck * Fix vint error in cppcheck handler * Add vader test for CppCheck format handler
2016-10-10First pass at optimizing ale to autoload (#80)Bjorn Neergaard
* First pass at optimizing ale to autoload First off, the structure/function names should be revised a bit, but I will wait for @w0rp's input before unifying the naming style. Second off, the docs probably need some more work, I just did some simple find-and-replace work. With that said, this pull brings major performance gains for ale. On my slowest system, fully loading ale and all its code takes around 150ms. I have moved all of ale's autoload-able code to autoload/, and in addition, implemented lazy-loading of linters. This brings load time on that same system down to 5ms. The only downside of lazy loading is that `g:ale_linters` cannot be changed at runtime; however, it also speeds up performance at runtime by simplfying the logic greatly. Please let me know what you think! Closes #59 * Address Travis/Vint errors For some reason, ale isn't running vint for me... * Incorporate feedback, make fixes Lazy-loading logic is much improved. * Add header comments; remove incorrect workaround * Remove unneeded plugin guards * Fix lazy-loading linter logic Set the wrong variable.... * Fix capitialization
2016-10-08Add cpp linter (#64)Marc Delage
* Add c gcc option in the doc * Add missing tag for eslint option in the doc * Correct typo in doc (' ' instead of '.') * add cpp linter * correct typo in doc * add filetype information for c++