summaryrefslogtreecommitdiffstats
path: root/clang/tools/scan-view
Commit message (Collapse)AuthorAgeFilesLines
* [clang] [cmake] Add distribution install targets for remaining componentsMichal Gorny2019-10-041-2/+12
| | | | | | | | | Add install targets as necessary to install bash-autocomplete, scan-build and scan-view via LLVM_DISTRIBUTION_TARGETS. Differential Revision: https://reviews.llvm.org/D68413 llvm-svn: 373695
* [clang-scan-view] Force utf-8 when handling report (python2 only)Serge Guelton2019-07-161-2/+2
| | | | | | | | Original patch by random human <random.bored.human@gmail.com> Differential Revision: https://reviews.llvm.org/D64129 llvm-svn: 366194
* Portable Python script across Python versionSerge Guelton2019-01-031-5/+11
| | | | | | | | StringIO is obsoleted in Python3, replaced by io.BytesIO or io.StringIO depending on the use. Differential Revision: https://reviews.llvm.org/D55196 llvm-svn: 350318
* Portable Python script across Python versionSerge Guelton2018-12-192-8/+15
| | | | | | | | | urllib2 as been renamed into urllib and the library layout has changed. Workaround that in a consistent manner. Differential Revision: https://reviews.llvm.org/D55199 llvm-svn: 349627
* Portable Python script across Python versionSerge Guelton2018-12-181-3/+6
| | | | | | | | commands.getoutput has been move to subprocess module in Python3 Differential Revision: https://reviews.llvm.org/D55205 llvm-svn: 349503
* Portable Python script across Python versionSerge Guelton2018-12-182-4/+4
| | | | | | | | | | | In Python3, dict.items, dict.keys, dict.values, zip, map and filter no longer return lists, they create generator instead. The portability patch consists in forcing an extra `list` call if the result is actually used as a list. `map` are replaced by list comprehension and `filter` by filtered list comprehension. Differential Revision: https://reviews.llvm.org/D55197 llvm-svn: 349501
* Portable Python script across Python versionSerge Guelton2018-12-182-20/+23
| | | | | | | | Using from __future__ import print_function it is possible to have a compatible behavior of `print(...)` across Python version. Differential Revision: https://reviews.llvm.org/D55213 llvm-svn: 349454
* Portable Python script across Python versionSerge Guelton2018-12-181-2/+5
| | | | | | | | ConfigParser module has been renamed as configparser in Python3 Differential Revision: https://reviews.llvm.org/D55200 llvm-svn: 349449
* Portable Python script across Python versionSerge Guelton2018-12-181-1/+1
| | | | | | | dict no longer have the `has_key` method in Python3. Instead, one can use the `in` keyword which already works in Python2. llvm-svn: 349447
* Portable Python script across Python versionSerge Guelton2018-12-131-2/+5
| | | | | | | | SocketServer has been renamed socketserver in Python3. Differential Revision: https://reviews.llvm.org/D55258 llvm-svn: 349010
* Portable Python script across Python versionSerge Guelton2018-12-131-2/+2
| | | | | | | | Use higher-level and more compatible threading module to start a new thread. Differential Revision: https://reviews.llvm.org/D55259 llvm-svn: 349008
* Portable Python script across Python versionSerge Guelton2018-12-031-9/+12
| | | | | | | | Workaround naming and hierarchy changes in BaseHTTPServer and SimpleHTTPServer module. Differential Revision: https://reviews.llvm.org/D55203 llvm-svn: 348184
* Portable Python script across Python versionSerge Guelton2018-12-031-1/+1
| | | | | | | | Python2 supports both backticks and `repr` to access the __repr__ slot. Python3 only supports `repr`. Differential Revision: https://reviews.llvm.org/D55201 llvm-svn: 348182
* Portable Python script across versionSerge Guelton2018-12-032-6/+6
| | | | | | | | | Have all classes derive from object: that's implicitly the default in Python3, it needs to be done explicilty in Python2. Differential Revision: https://reviews.llvm.org/D55121 llvm-svn: 348127
* Portable Python script across Python versionSerge Guelton2018-12-031-9/+9
| | | | | | | | | | | | | | Python2 supports the two following equivalent construct raise ExceptionType, exception_value and raise ExceptionType(exception_value) Only the later is supported by Python3. Differential Revision: https://reviews.llvm.org/D55195 llvm-svn: 348126
* Fix typos in clangAlexander Kornienko2018-04-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found via codespell -q 3 -I ../clang-whitelist.txt Where whitelist consists of: archtype cas classs checkk compres definit frome iff inteval ith lod methode nd optin ot pres statics te thru Patch by luzpaz! (This is a subset of D44188 that applies cleanly with a few files that have dubious fixes reverted.) Differential revision: https://reviews.llvm.org/D44188 llvm-svn: 329399
* Add coding and shebang.Vassil Vassilev2017-03-022-0/+6
| | | | | | Reviewed by Artem Dergachev (D26030)! llvm-svn: 296781
* Remove autoconf supportChris Bieneman2016-01-261-37/+0
| | | | | | | | | | | | | | | | | Summary: This patch is provided in preparation for removing autoconf on 1/26. The proposal to remove autoconf on 1/26 was discussed on the llvm-dev thread here: http://lists.llvm.org/pipermail/llvm-dev/2016-January/093875.html "This is the way [autoconf] ends Not with a bang but a whimper." -T.S. Eliot Reviewers: chandlerc, grosbach, bob.wilson, echristo Subscribers: klimek, cfe-commits Differential Revision: http://reviews.llvm.org/D16472 llvm-svn: 258862
* [scan-view] replace deprecated optparse with argparseAlexander Kornienko2015-12-211-45/+48
| | | | | | | | | | | | | | Summary: scan-view migrated from optparse deprecated Python module to its replacement (argparse) and resolved few conflicts with pep8 Reviewers: ddunbar, aaron.ballman, dcoughlin, jroelofs, zaks.anna Subscribers: cfe-commits Patch by Kirill Bobyrev! Differential Revision: http://reviews.llvm.org/D15370 llvm-svn: 256150
* [scan-build] Make scan-build work whether it's installed or notJonathan Roelofs2015-11-133-5/+11
| | | | llvm-svn: 253074
* [scan-build] Move non user-facing utilities to shareJonathan Roelofs2015-11-136-8/+11
| | | | llvm-svn: 253068
* Fix buildJonathan Roelofs2015-11-131-1/+1
| | | | llvm-svn: 252991
* [scan-view] Rename 'Resources' --> 'share'Jonathan Roelofs2015-11-136-10/+10
| | | | llvm-svn: 252977
* Hiding the scan-build and scan-view projects under the Misc folder in IDEs ↵Aaron Ballman2015-11-111-0/+1
| | | | | | instead of having them at the root view. llvm-svn: 252771
* Fix buildJonathan Roelofs2015-11-101-1/+1
| | | | llvm-svn: 252667
* Implement post-commit review feedback on r252662Jonathan Roelofs2015-11-101-3/+2
| | | | llvm-svn: 252664
* Implement the fix that r252641 should have beenJonathan Roelofs2015-11-101-9/+12
| | | | llvm-svn: 252662
* Fix missing CMake dependency introduced in r252474Jonathan Roelofs2015-11-101-2/+4
| | | | llvm-svn: 252641
* Fix the cmake build after r252474 broke itJonathan Roelofs2015-11-091-2/+5
| | | | llvm-svn: 252489
* Create install targets for scan-build and scan-viewJonathan Roelofs2015-11-094-3/+73
| | | | | | http://reviews.llvm.org/D14403 llvm-svn: 252474
* [analyzer] scan-view: don't ever serve absolute paths.Jordan Rose2013-04-291-12/+4
| | | | | | | | | | | | At one point in time scan-view allowed absolute paths to reference files within the server root, but this doesn't seem to be used anymore, and caused problems if a server-root-relative path actually matched an absolute path to an existing file. This patch just treats paths as server-root-relative all the time. PR15843 llvm-svn: 180715
* Further harden checking that scan-view isn't serving up pages outsideTed Kremenek2012-10-121-2/+2
| | | | | | the server root. llvm-svn: 165839
* Have scan-view guard against serving up pages outside the root directory.Ted Kremenek2012-10-121-0/+5
| | | | llvm-svn: 165815
* Fix call to send_error() in scan-view. An int error code is expected but a ↵Ted Kremenek2011-02-211-1/+1
| | | | | | string was being sent. Patch by Andrew Price! llvm-svn: 126138
* Increase scan-view max timeout to 1 minute.Ted Kremenek2009-05-041-1/+1
| | | | llvm-svn: 70896
* "missing ivar release" is a performance bug.Ted Kremenek2008-10-302-0/+2
| | | | llvm-svn: 58436
* Generalize searching for the keyword "leak" in a bug type.Ted Kremenek2008-10-241-1/+1
| | | | llvm-svn: 58115
* For Radar reporting, null dereferences should be default classified as ↵Ted Kremenek2008-10-231-0/+2
| | | | | | "Crash/Hang/Data loss" <rdar://problem/6315624> llvm-svn: 58045
* Set reproducibility back to "Always"Ted Kremenek2008-09-301-0/+0
| | | | llvm-svn: 56891
* scan-view: Remove some debugging prints.Daniel Dunbar2008-09-301-2/+0
| | | | llvm-svn: 56864
* Default reproducibility to "Not applicable"Ted Kremenek2008-09-301-0/+0
| | | | llvm-svn: 56860
* Make "Performance" the default Radar classification for leaks. "Other" for ↵Ted Kremenek2008-09-301-1/+10
| | | | | | all others (for now). llvm-svn: 56858
* Make a separate parameter class for "Radar classifications".Ted Kremenek2008-09-301-5/+13
| | | | | | Do not save the radar classification to the config file. llvm-svn: 56856
* Add "SelectionParameter" class to represent drop-down boxes.Ted Kremenek2008-09-302-13/+27
| | | | | | | Added "Classification" field to Radar filing. Modified FileRadar.scpt to take the classification as an argument. llvm-svn: 56854
* Conditionally load/save default parameter value from config file.Ted Kremenek2008-09-301-0/+2
| | | | llvm-svn: 56852
* Use objects to represent form parameters. This allows us to abstract away someTed Kremenek2008-09-302-18/+44
| | | | | | | | of the details of HTML rendering of form parameters, and also us with the ability to delegate other actions (such as in the filling in of default values) to specific parameter objects. llvm-svn: 56851
* Tabs -> Spaces.Ted Kremenek2008-09-301-4/+4
| | | | llvm-svn: 56833
* Fix braindead bug, ID number was hardcoded.Daniel Dunbar2008-09-291-0/+0
| | | | llvm-svn: 56789
* Change Radar reproducibility to "Always".Daniel Dunbar2008-09-261-0/+0
| | | | llvm-svn: 56644
* Disable report crashes link for the time being.Daniel Dunbar2008-09-251-3/+7
| | | | llvm-svn: 56617
OpenPOWER on IntegriCloud