Commit Graph
102 Commits
Author SHA1 Message Date
partouf e003f11122 Revert "Create microsoft-analysis-tool.js (#3172)"
This reverts commit 819e18a045.
2021-12-15 21:01:54 +00:00
timmy-ms 819e18a045 Create microsoft-analysis-tool.js (#3172) 2021-12-15 19:34:02 +01:00
Matt Godbolt 73c758671a Update eslint et al 2021-12-13 22:40:03 -06:00
Patrick Quist e24f724e47 Options cleanup (#2924)
* getting rid of compiler.libs

* old widget no longer needed

* move supportedLibraries code to base-compiler

* bugfix

* oops

* grmbl

* bugfix remote msvc compilers
2021-09-13 20:22:39 +02:00
RabsRincon 565a4f7b48 Actually fix Windows options-handler tests for realsies now 2021-08-13 06:11:32 +02:00
Mats Larsen 92884e0151 Add rustfmt as code formatting tool for Rust (#2798)
* Rustfmt for Rust
* Modify amazon config to include rustfmt with tools installed by infra
* Tag rustfmt version in amazon.properties
2021-07-25 10:34:48 -05:00
Maxim Stefanov 3fe2a217d1 Removed unnecessary reference to 'text' (#2729) 2021-06-25 08:38:14 -05:00
Maxim Stefanov c909aee28b Corrected trim of the documentation link. (#2727) 2021-06-21 20:48:54 -05:00
Matt Godbolt 5c5bc4dd50 Dont array push multiple times 2021-05-27 23:25:37 -05:00
Matt Godbolt 4e36d206b4 Prefer regex.test() 2021-05-27 23:19:32 -05:00
Matt Godbolt b56cdb75ba Filter out some directives that seem to upset llvm-mca. Closes #1270 2021-04-26 19:10:01 -05:00
Patrick Quist 50481068f8 Link into executable for Assembly language (#2581)
* initial working version

* refactor readelf and ld exes to properties

* minor mac support thing

* refactor to use buildsteps

* support timing for buildsteps

* bugfix gnuas and better error when we can't link

* disable for ARM archs and ptx assemblers
2021-04-13 17:01:11 +02:00
Matt Godbolt aceaae2227 Remove additionalEnv. Treat execOptions.env as always 'in addition to… (#2571)
* Remove additionalEnv. Treat execOptions.env as always 'in addition to base env'. Specifically only pass those env vars through sandboxing
2021-04-03 18:09:58 -05:00
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