| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
first item in the path
Differential Revision: https://reviews.llvm.org/D57783
llvm-svn: 353228
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
In Python2, division between integer yields an integer, while it yields a float in Python3.
Use a combination of from __future__ import division and // operator to get a portable behavior.
Differential Revision: https://reviews.llvm.org/D55204
llvm-svn: 349455
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Differential Revision: https://reviews.llvm.org/D52844
llvm-svn: 344990
|
|
|
|
|
|
| |
Do not show statistics by default.
llvm-svn: 338323
|
|
|
|
| |
llvm-svn: 338322
|
|
|
|
|
|
| |
I missed updating the check in r333375
llvm-svn: 333529
|
|
|
|
| |
llvm-svn: 333375
|
|
|
|
|
|
| |
multithreaded environment
llvm-svn: 325070
|
|
|
|
| |
llvm-svn: 324762
|
|
|
|
|
|
|
|
|
|
| |
emulating parser output
...when we can just use the real parser instead.
Differential Revision: https://reviews.llvm.org/D43098
llvm-svn: 324759
|
|
|
|
|
|
|
|
|
| |
Combined with enabled flag for stable filenames, this greatly simplifies
finding the offending report.
Differential Revision: https://reviews.llvm.org/D42831
llvm-svn: 324362
|
|
|
|
| |
llvm-svn: 324114
|
|
|
|
|
|
|
|
|
|
| |
Indeed, "CHANGE" is not a thing yet, and we should probably not carry
around dead code which does not do anything apart from confusing the
reader.
Differential Revision: https://reviews.llvm.org/D42819
llvm-svn: 324027
|
|
|
|
|
|
|
|
| |
between the analyzer runs
Differential Revision: https://reviews.llvm.org/D42778
llvm-svn: 324021
|
|
|
|
|
|
| |
Differential Revision: https://reviews.llvm.org/D42718
llvm-svn: 323941
|
|
|
|
|
|
| |
Differential Review: https://reviews.llvm.org/D38213
llvm-svn: 314692
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Exporting needed function for future reuse.
- Idiomatic python: using with `file as f` instead of `try/finally`.
- Fixing some indentation issues.
- No need to reinvent python `multiprocessing.getCPUCount()`
- Removing a function parameter which is always the same under all invocations.
- Adding some docstrings.
Differential Revision: https://reviews.llvm.org/D38156
llvm-svn: 313949
|
|
|
|
|
|
| |
Differential Revision: https://reviews.llvm.org/D38003
llvm-svn: 313923
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds hashes to the plist and html output to be able to identfy bugs
for suppressing false positives or diff results against a baseline. This hash
aims to be resilient for code evolution and is usable to identify bugs in two
different snapshots of the same software. One missing piece however is a
permanent unique identifier of the checker that produces the warning. Once that
issue is resolved, the hashes generated are going to change. Until that point
this feature is marked experimental, but it is suitable for early adoption.
Differential Revision: http://reviews.llvm.org/D10305
Original patch by: Bence Babati!
llvm-svn: 251011
|
|
|
|
| |
llvm-svn: 246978
|
|
|
|
|
|
| |
generating reference results in the test suite.
llvm-svn: 241706
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D10812
llvm-svn: 241073
|
|
|
|
|
|
|
|
| |
This allows us to compare two direct invocations of the analyzer on a
single source file without having to wrap the output plists in their
own directories.
llvm-svn: 177804
|
|
|
|
|
|
| |
report)
llvm-svn: 168105
|
|
|
|
| |
llvm-svn: 167981
|
|
|
|
|
|
| |
clang_version, fix the compare routine.
llvm-svn: 166129
|
|
|
|
| |
llvm-svn: 166048
|
|
|
|
| |
llvm-svn: 165995
|
|
|
|
| |
llvm-svn: 162598
|
|
|
|
|
|
|
| |
We no longer associate the correct HTML file with plist diagnostic.
Fall out from r162028.
llvm-svn: 162071
|
|
|
|
|
|
|
|
|
|
| |
This prevents us from treating the issues from different files with the
same function names and same offsets as the same.
The issue identifier now includes the file name. Also added a way to
strip off the root directories form the source file names.
llvm-svn: 161150
|
|
|
|
|
|
| |
Fallout from CmpRuns.py API changes in r160314.
llvm-svn: 160800
|
|
|
|
|
|
|
|
|
| |
CmpRuns can be used for static analyzer bug report comparison. However,
we want to make sure external users do not rely on the way bugs are
represented (plist files). Make sure that we have a user
friendly/documented API for CmpRuns script.
llvm-svn: 160314
|
|
|
|
|
|
|
| |
(For the future: It would be more efficient to produce a hash key with
the embedded function info inside the compiler.)
llvm-svn: 158187
|
|
|
|
|
|
| |
(Uses the functionality which has been in CmpRuns long before.)
llvm-svn: 148868
|
|
|
|
|
|
| |
diagnostic message).
llvm-svn: 148867
|
|
|
|
| |
llvm-svn: 144113
|
|
|
|
|
|
| |
Until we find out a way to easily find out what changed by looking at the logs.
llvm-svn: 143789
|
|
|
|
| |
llvm-svn: 139550
|
|
|
|
|
|
| |
modules.
llvm-svn: 139543
|
|
llvm-svn: 139540
|