Commit Graph
89 Commits
Author SHA1 Message Date
Partouf 56e64c1faf fix compiler.options splitting 2021-03-04 22:08:42 +01:00
Rubén Rincón Blancoandpartouf 4e683c53d6 Adds args field to tools (#2406)
* Adds args field to tools

This args field is show in the UI inside the Arguments input.

Closes #2395

* support options for all tools

* clang-format tidy and query use .options differently

* compiler dropin uses options differently as well

Co-authored-by: partouf <partouf@gmail.com>
2021-02-08 07:15:13 +01:00
Tom Ritter 7e595ee0e4 Fix regex so unicorn doesn't complain (#2385) 2021-01-14 02:15:30 +01:00
Tom Ritter 6c68038945 Make the input file to clang-query unique so you can run multiple clang-query tools (#2378) 2021-01-09 14:52:35 -06:00
Julian a81d3f8c67 Applying filters to OSACA input (#2330)
* updated OSACA to 0.3.12

* applying filters to osaca input

* added missing semicolon

* const and async
2020-11-22 12:14:21 -06:00
Julian 63971bffc6 OSACA tool & analysis support (#2280)
* added rudimentary OSACA tool & analysis support
* added osaca to tools. using -trunk
* fixed copyright string and added myself to CONTRIBUTORS.md
* use OSACA v0.3.10
2020-11-03 08:01:23 -06:00
Austin Morton de85aecc7d Normalize and enforce license disclaimer headers (#2234) 2020-09-27 00:20:19 -04:00
Austin Morton 044dcfbf88 Use ES6 Modules (#2132) 2020-09-26 16:59:26 -04:00
Austin Morton bac07fea6d Eliminate all dynamic require statements (#2230) 2020-09-25 11:21:30 -04:00
Patrick Quist 697c8e9296 support library options to be passed on to the compiler (#2215) 2020-09-25 02:09:47 +02:00
Patrick Quist 78c13cc139 add strings tool (#2206) 2020-09-17 18:49:12 +02:00
partouf 3a5420f3d2 remove unused code 2020-09-06 19:51:24 +00:00
Rubén Rincón BlancoandAustin Morton ccff4b9ee5 Add new eslint rules (#2121)
The largest changes here are:
- enforcing single quotes for strings
- enforcing trailing commas where possible

In addition to those we have enabled several eslint plugins:
- plugin:requirejs/recommended, to enforce some conventions in require statements
- plugin:node/recommended, to enforce correct usage of various node.js APIs
- plugin:unicorn/recommended, which contains a pretty mixed bag of useful rules

This PR attempts to not change code behavior when possible.  In cases where fixing
existing code would change semantics, a linting exclusion has been placed in the 
code base to silence the error.  You can find these by searching for `eslint-disable-next-line`.

Co-authored-by: Austin Morton <austinpmorton@gmail.com>
2020-08-04 16:39:02 -04:00
GeorgeGribkov cf9494d269 Fix the empty string failure on gcc lower than 4.9.0 2020-06-04 16:16:04 +03:00
Matt Godbolt 2f02d8b87d Merge remote-tracking branch 'origin/master' into GeorgeGribkov-pvs-studio-tool 2020-06-03 08:09:42 -05:00
Matt Godbolt 97c7067019 Tools includeKey
If a tool has an includeKey set, then for each compiler, this key is
looked up, and if not 'truthy', then the tool is disabled for that
compiler.
2020-06-03 08:04:15 -05:00
Matt Godbolt 29125df7b8 Formatting; remove commented-out code 2020-06-03 07:14:54 -05:00
GeorgeGribkov 2a6c0701d8 Change the message for the compilation error 2020-06-03 12:26:40 +03:00
GeorgeGribkov d6fd4e7f9f Return if compilation failed 2020-06-03 11:52:47 +03:00
GeorgeGribkov 74b02c076c exclude directories for analysis 2020-06-02 10:36:51 +03:00
GeorgeGribkov 24202e97d5 Turn on the automatic PVS-Studio.cfg generation 2020-06-01 16:05:32 +03:00
Partouf 79e3252121 use pvs-studio-analyzer 2020-05-29 16:28:44 +02:00
Matt Godbolt 8c385001a8 Merge pull request #2003 from GeorgeGribkov/GeorgeGribkov-pvs-studio-tool
George gribkov pvs studio tool
2020-05-29 07:57:37 -05:00
GeorgeGribkov c2c6f32410 minor fix 2020-05-29 15:22:39 +03:00
GeorgeGribkov 91972db89f Let the PVS-Studio-tool know the compiler path 2020-05-29 12:45:41 +03:00
Partouf b2d1027fc8 restore some things 2020-05-28 12:18:25 +02:00
Partouf 2d08144798 Merge branch 'pvstestthings' into GeorgeGribkov-pvs-studio-tool 2020-05-28 12:16:19 +02:00
Partouf e76375c9fe Merge remote-tracking branch 'origin/master' into GeorgeGribkov-pvs-studio-tool 2020-05-28 12:16:12 +02:00
Partouf 7ffc3e33fa fix #1996 2020-05-27 16:45:46 +02:00
Partouf 0438c8fc30 bluh 2020-05-26 03:17:55 +02:00
Partouf 101d6f19f5 merge https://github.com/GeorgeGribkov/compiler-explorer/commit/f4ac5e234dd7b99fffc8fea69143791a3952d43b 2020-05-26 01:02:08 +02:00
GeorgeGribkov f4ac5e234d Clear the PVS-Studio stderr output 2020-05-25 14:25:04 +03:00
Partouf 3a458c1952 fix the things 2020-05-22 14:14:49 +02:00
Matt Godbolt f2cfae6362 Argh lint. I fixed this but forgot to git add before pushing 2020-05-21 23:01:24 -05:00
Matt Godbolt 142c82471d Check return code of pvs-studio and plog-converter and return their errors if they fail. CC @GeorgeGribkov 2020-05-21 22:55:24 -05:00
Matt Godbolt d9ebcd1b6e Make plog-converter configurable (CC @GeorgeGribkov) 2020-05-21 22:26:07 -05:00
Matt Godbolt a8bdcacd4e Merge branch 'pvs-studio-tool' of https://github.com/GeorgeGribkov/compiler-explorer into GeorgeGribkov-pvs-studio-tool 2020-05-21 21:02:10 -05:00
GeorgeGribkov eeb6bc5225 Fix some little misprints 2020-05-19 10:48:29 +03:00
GeorgeGribkov ae3f22cb30 Add PVS-Studio-tool 2020-05-18 16:57:22 +03:00
Patrick Quist 9047ffc3a9 Add toolchain librarypaths to -Wl,-rpath (#1934)
* add lib/lib64 toolchain rpaths for execution

* refactor to not have duplicate code
2020-04-23 21:42:15 +02:00
Matt Godbolt 1850ec7e11 Async tooling 2020-01-21 22:54:08 -06:00
Stephen Kelly e1188d1a36 Use a file to execute clang-query commands
This is needed to enable multi-line clang-query commands.
2020-01-11 10:07:43 +00:00
RabsRincon c34ba450b7 Fixes COMPILER-EXPLORER-5VZ Sentry issue 2020-01-08 10:28:35 +01:00
Stephen Kelly bb66b63746 Add clang-format tool 2019-12-06 22:29:34 +00:00
Partouf c835905d04 disable for non clang/gcc compilers 2019-10-18 15:39:51 +02:00
Partouf 41673dbebc etc 2019-10-12 16:16:23 +02:00
Partouf a78de4ccb8 still not working right 2019-10-11 18:06:34 +02:00
Partouf 89c3bb3054 find compiler specific include paths and use em 2019-10-11 16:58:41 +02:00
Partouf 0a336fef28 toolchain things 2019-10-11 01:14:25 +02:00
Paul Seyfert bd147bee66 rebase on top of #1617 2019-10-10 12:26:29 +02:00