Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/swiftwasm/swift-clang
This repository is no longer in use, please refer to the LLVM monorepo https://github.com/swiftwasm/llvm-project
https://github.com/swiftwasm/swift-clang
Summary:
Similar to Sema typo correction, the Preprocessor typo correction should
also be hidden...
r326937 ("[OpenCL] Remove block invoke function from emitted block
literal struct", 2018-03-07) ...
This reverts r326937 as it broke block argument handling in OpenCL.
See the discussion on https:...
Summary:
Several improvements in preparation for the new backends.
Refactoring:
- Removed dupl...
06d46908046862bd04eab4de8ae344b5d31dce07 authored about 6 years ago by Mikhail R. Gadelha <[email protected]>
Move the bit-fields of FunctionProtoType into FunctionTypeBitfields.
This cuts the size of Funct...
Summary:
The initial fix (r337453) had bug and was partially reverted (r338255).
This simplies t...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343574 91177308-0d34-0410-b5e6-96231b3b80d8
9375f5f7ed217129cf8eca4faf958b463369c8cd authored about 6 years ago by Eric Liu <[email protected]>Differential Revision: https://reviews.llvm.org/D52502
git-svn-id: https://llvm.org/svn/llvm-pr...
363420a23bdb68bad5caeca64766332ddcc4ca99 authored about 6 years ago by Eric Liu <[email protected]>16718931d123fd2a740f8de1105be2b0c9df9e26 authored about 6 years ago by Automerger <Automerger@Swift>
Summary:
In clangd we had a new type of completion suggestions for cpp
class/struct/unions that ...
The implementation of this is in TargetParser, so we only need to add a
test for it in clang.
P...
65b96896c1a63ec40f21732e4b1777b0053d63c1 authored about 6 years ago by Oliver Stannard <[email protected]>
Summary:
Inspired by MSVC, which found some occurrences of this expression on our code base.
Fi...
92e9c12e91148506062d9cad9dc81d308e8f96f9 authored about 6 years ago by David Bolvansky <[email protected]>of a non-trivial C struct, copy the preceding trivial fields that
haven't been copied.
This comm...
c8e27aaeeeeac7172dafaab0e7829ba20d33855f authored about 6 years ago by Akira Hatanaka <[email protected]>1ddef2249ad6899955767076428a9210ca9b5d00 authored about 6 years ago by swift-ci <[email protected]>
Currently, ProgramPoint::dump calls the out-of-line function ProgramPoint::print. This causes
li...
This reverts commit 03d183b6b94eda27ce66a4f9b87a00b0a148cf9e.
Temporary revert until the tests ...
1bcd3432024fded588b2ccb9b21454d8c2478a24 authored about 6 years ago by George Karpenkov <[email protected]>Prevents bad centering.
Differential Revision: https://reviews.llvm.org/D51825
git-svn-id: htt...
13d4f3b2447457e5aa3bd6e15e7b45484df686d1 authored about 6 years ago by George Karpenkov <[email protected]>Invalid source locations may arise from generated code.
Differential Revision: https://reviews....
126f882311577b600b226732e679473351b3a3d6 authored about 6 years ago by George Karpenkov <[email protected]>git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343205 91177308-0d34-0410-b5e6-96231b3b...
15ded6bb4b192ff6a250a7966953d0c839477756 authored about 6 years ago by Kristof Umann <[email protected]>When object is owned elsewhere
Differential Revision: https://reviews.llvm.org/D51669
git-svn-...
d41bd7ce0e32a94d1893f2c29a72563687cd9581 authored about 6 years ago by George Karpenkov <[email protected]>New check added to the checker which checks whether iterator parameters of template functions ty...
d3e2ba8ccfec024de2cb9d05f4305d50a9113d63 authored about 6 years ago by Adam Balogh <[email protected]>
As debug printing has changed, and format was not guaranteed to be
stable.
Artem is currently wo...
To fix compiler warning about non-virtual dtor introduced in r342221.
git-svn-id: https://llvm....
3febaa970be6ffd912b1c26795c51ea6a41d946d authored about 6 years ago by Ilya Biryukov <[email protected]>Differential Revision: https://reviews.llvm.org/D51395
git-svn-id: https://llvm.org/svn/llvm-pr...
39ea9dbee10144e12a4a8831d46b0a4740402782 authored about 6 years ago by George Karpenkov <[email protected]>When a checker maintains a program state trait that isn't a simple list/set/map, but is a combin...
3c67c86d4c6c73c11a7c1727e34e65b2109b02fd authored about 6 years ago by Artem Dergachev <[email protected]>This reverts commit 2f5d71d9fa135be86bb299e7d773036e50bf1df6.
Hopefully fixing tests on Windows...
32b2f37b4311fb7a287f12042960d2c7e5a9496e authored about 6 years ago by George Karpenkov <[email protected]>If a container is moved by its move assignment operator, according to the standard all their ite...
32775ea22dc6d992298760a63d25fb8fd22fc28f authored about 6 years ago by Adam Balogh <[email protected]>Differential Revision: https://reviews.llvm.org/D52640
git-svn-id: https://llvm.org/svn/llvm-pr...
38aa87bfa0c8ad7af608c6221762875866672c83 authored about 6 years ago by George Karpenkov <[email protected]>skip pointers whenever redundant, use unique prefixes.
Differential Revision: https://reviews.l...
e5ab5735755d264d8732b2260aeb20e30e9efece authored about 6 years ago by George Karpenkov <[email protected]>
Introduce a new MemRegion sub-class, CXXDerivedObjectRegion, which is
the opposite of CXXBaseObj...
Got an error that a cast is happening from a pointer type to long, which is
smaller.
git-svn-i...
8d1cdfe94288fbcfc1cfe5ea201926de093fd863 authored about 6 years ago by Kristof Umann <[email protected]>(NB: could be a clang-tidy / analyzer check)
Differential Revision: https://reviews.llvm.org/D5...
714c7bd3a1b2277db65ac9209909d62f4542feec authored about 6 years ago by George Karpenkov <[email protected]>Still generate a node, but leave the redundant field empty.
Differential Revision: https://revi...
d7019896205469050b75febb48e7976df3308742 authored about 6 years ago by George Karpenkov <[email protected]>Differential Revision: https://reviews.llvm.org/D52519
git-svn-id: https://llvm.org/svn/llvm-pr...
5605243815122c8d3c9cbcd0a98b1ee63f13ceba authored about 6 years ago by George Karpenkov <[email protected]>
This patch defines a new substitution and uses it to reduce
duplication in the Clang Analyzer te...
Those are not created in the allocator.
Since they are created fairly rarely, a counter overhead...
If not possible, use the last line of the declaration, as before.
Differential Revision: https:...
5921acc07c9cd6e1fc4e9b08166fbe3d31ea299c authored about 6 years ago by George Karpenkov <[email protected]>
Combine the two constructor overrides into a single ArrayRef constructor
to allow easier brace i...
The generated identifiers are stable across multiple runs, and can be a
great debug or visualiza...
Differential Revision: https://reviews.llvm.org/D51184
git-svn-id: https://llvm.org/svn/llvm-pr...
548832931a9c057efe74f47f064b523246c410df authored about 6 years ago by George Karpenkov <[email protected]>git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343276 91177308-0d34-0410-b5e6-96231b3b80d8
605d3d3809e3c50f7b1dd53803380977f142077f authored about 6 years ago by George Karpenkov <[email protected]>Differential Revision: https://reviews.llvm.org/D51824
git-svn-id: https://llvm.org/svn/llvm-pr...
900461e2afa587fb5a0225f63015d003e00ce1c5 authored about 6 years ago by George Karpenkov <[email protected]>
If the non-sink report is generated at the exit node, it will be
suppressed by the current funct...
iThis patch aims to fix derefencing, which has been debated for months now.
Instead of working ...
8534278599f90f158afe891a7a2b83f1f40a54e6 authored about 6 years ago by Kristof Umann <[email protected]>This patch adds support for the following operations in the iterator checkers: assign, clear, in...
87905a1e93434bebef902bc765f7f9d062174fff authored about 6 years ago by Adam Balogh <[email protected]>Differential Revision: https://reviews.llvm.org/D50892
git-svn-id: https://llvm.org/svn/llvm-p...
69da5d87318116e027ea3ed8200469c140da8ef9 authored about 6 years ago by Kristof Umann <[email protected]>
Tests introduced in r329780 was disabled in r342317 because these tests
were accidentally testin...
Differential Revision: https://reviews.llvm.org/D52337
git-svn-id: https://llvm.org/svn/llvm-pr...
6c638e5c7b9afc3b76c45fd326fdc3a17c251ced authored about 6 years ago by George Karpenkov <[email protected]>This patch adds support for the following operations in the iterator checkers: push_back, push_f...
67b73503401cc770c5e99d6ed0b667d858daec48 authored about 6 years ago by Adam Balogh <[email protected]>Differential Revision: https://reviews.llvm.org/D51823
git-svn-id: https://llvm.org/svn/llvm-pr...
6a6f8c64898fdbd80cb502c577b4dc6bc4da2f28 authored about 6 years ago by George Karpenkov <[email protected]>git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340972 91177308-0d34-0410-b5e6-96231b3b80d8
7230a714b72ff2f9c16b8511bac4d236a50b8ce0 authored about 6 years ago by George Karpenkov <[email protected]>Based on a suggestion from @george.karpenkov.
In some cases, structs are used as unions with a ...
e7dbf4a6518185ecd2cd04da0e9ff46e4ed8894c authored about 6 years ago by Kristof Umann <[email protected]>Differential Revision: https://reviews.llvm.org/D51667
git-svn-id: https://llvm.org/svn/llvm-pr...
e96851d024e6b72cc97bebf2864bc216bcee64cd authored about 6 years ago by George Karpenkov <[email protected]>Differential Revision: https://reviews.llvm.org/D52584
git-svn-id: https://llvm.org/svn/llvm-pr...
ebb0401ff5eccc1e7f86b1852765f5bb7ef7cfd6 authored about 6 years ago by George Karpenkov <[email protected]>This reverts commit a39bcab414dd7ace7e490363ecdf01ecce7743fc.
Reverting the revert, fixing test...
f638c01d6dc28a089b6d475b56b3e774748fc7d6 authored about 6 years ago by George Karpenkov <[email protected]>Differential Revision: https://reviews.llvm.org/D51666
git-svn-id: https://llvm.org/svn/llvm-pr...
e7ede56fc24178fd83ad09ab0773b29bf32fea4f authored about 6 years ago by George Karpenkov <[email protected]>
Modify the RetainCountChecker to perform state "adjustments" in
checkEndFunction, as performing ...
Ubigraph project has been dead since about 2008, and to the best of my
knowledge, no one was usi...
rdar://13729267
Differential Revision: https://reviews.llvm.org/D51323
git-svn-id: https://llv...
bbd493aa5cb3daa00e44ce1706b3d6f069dee1cb authored about 6 years ago by George Karpenkov <[email protected]>Differential Revision: https://reviews.llvm.org/D52336
git-svn-id: https://llvm.org/svn/llvm-pr...
ba33ba886e084769c690c18c3c0193934e32ba99 authored about 6 years ago by George Karpenkov <[email protected]>Fixes a number of issues:
- Global variables are not used for communication
- Trait should be...
Differential Revision: https://reviews.llvm.org/D51513
git-svn-id: https://llvm.org/svn/llvm-pr...
7898475098218e1fc970acbff1fcf7d817c1b823 authored about 6 years ago by George Karpenkov <[email protected]>
By making sure the returned value from getKnownSVal is consistent with
the value used inside exp...
Split tests which were still using FileCheck to compare plists.
Differential Revision: https://...
7a1ffb75bf9298717ba6aae3a158880e329b6c2c authored about 6 years ago by George Karpenkov <[email protected]>Differential Revision: https://reviews.llvm.org/D52502
git-svn-id: https://llvm.org/svn/llvm-p...
7b79436c981d0662fd01cc63e17fedc970352039 authored about 6 years ago by Kristof Umann <[email protected]>
Since I plan to add a number of new flags, it made sense to encapsulate
them in a new struct, in...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341978 91177308-0d34-0410-b5e6-96231b3b80d8
453d80c6fa26a4b0c7741e0bbf7170a90b015cd4 authored about 6 years ago by George Karpenkov <[email protected]>
The analyzer doesn't make use of them anyway and they seem to have
pretty weird AST from time to...
A node is considered to be trivial if it only has one successor, one
predecessor, and a state eq...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343085 91177308-0d34-0410-b5e6-96231b3b80d8
506c7880f6b9a5070ee3d652bd9626b0fd65e2be authored about 6 years ago by Simon Pilgrim <[email protected]>So it can be reused across different consumers.
Differential Revision: https://reviews.llvm.org...
4d997417a91f6c81006e87e1eb6ab3787efa0b9d authored about 6 years ago by George Karpenkov <[email protected]>Differential Revision: https://reviews.llvm.org/D51886
git-svn-id: https://llvm.org/svn/llvm-p...
99d5d3089a3b1777bf54dd094c6b0966db71c7ed authored about 6 years ago by Kristof Umann <[email protected]>So we can dump them outside of viewing the exploded grpah.
Differential Revision: https://revie...
9d6f1def94b1fc93a91962f2e9e78ec14fa43f71 authored about 6 years ago by George Karpenkov <[email protected]>
The analyzer doesn't make use of them anyway and they seem to have
pretty weird AST from time to...
Assuming strlcat is used with strlcpy we check as we can if the last argument does not equal os...
9f12b6877e226f6a4a35f63f91ff624cf2e6f24d authored about 6 years ago by David Carlier <[email protected]>Differential Revision: https://reviews.llvm.org/D51826
git-svn-id: https://llvm.org/svn/llvm-pr...
98bc44575713915b03107870c534412b6c8a9101 authored about 6 years ago by George Karpenkov <[email protected]>Differential Revision: https://reviews.llvm.org/D49437
git-svn-id: https://llvm.org/svn/llvm-p...
aaa2936d7027913a07ee85b86bc3d3775009c8e9 authored about 6 years ago by Kristof Umann <[email protected]>Differential Revision: https://reviews.llvm.org/D52269
git-svn-id: https://llvm.org/svn/llvm-pr...
a75a63adc3737cbd7b49027d4c8bcbbe32c7e352 authored about 6 years ago by George Karpenkov <[email protected]>git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340110 91177308-0d34-0410-b5e6-96231b3b80d8
ac1178cb4bff7ea9f312b6dfc855f7baa696ae6b authored about 6 years ago by George Karpenkov <[email protected]>Raw FileIDs are needed for the PlistDiagnostics to produce stable filenames.
Differential Revis...
b1b02f5acf198eea949abae9af4dac95cf0178af authored about 6 years ago by George Karpenkov <[email protected]>Differential Revision: https://reviews.llvm.org/D51322
git-svn-id: https://llvm.org/svn/llvm-pr...
2603dff78ba04fe884a77aae486cdadf191d00bd authored about 6 years ago by George Karpenkov <[email protected]>
This patch is a band-aid. A proper solution would be too change
trackNullOrUndefValue to only tr...
Don't try to understand what's going on when there's a C++ method called eg.
CFRetain().
Refact...
30197b4eb24c5e64ae6b640fbdf72646194d3480 authored about 6 years ago by Artem Dergachev <[email protected]>
The "derived" symbols indicate children fields of a larger symbol.
As parents do not have pointe...
The generated identifier is stable across multiple runs,
and can be a great visualization or deb...
Differential Revision: https://reviews.llvm.org/D51250
git-svn-id: https://llvm.org/svn/llvm-pr...
2a9e486e425fa71fdf7e70a2466de030c8a692a3 authored about 6 years ago by George Karpenkov <[email protected]>
Commit r340984 causes a crash when a pointer to a completely unrelated type
UnrelatedT (eg., opa...
Test file was accidentally not added for rL341790/rC341790 and subsequant patches.
git-svn-id...
0374b33d4995e4bb33efa903d8c007030a8f4929 authored about 6 years ago by Adam Balogh <[email protected]>Reverts analyzer tests from rL341627 again as they still broke windows buildbots
git-svn-id: ht...
0c365fa10ed70947afb005156abdf3c489704c58 authored about 6 years ago by Simon Pilgrim <[email protected]>Differential Revision: https://reviews.llvm.org/D51251
git-svn-id: https://llvm.org/svn/llvm-pr...
0fbdb1d3df60cc63ecf6d0ba85a2cc971c232e49 authored about 6 years ago by George Karpenkov <[email protected]>
Return value of dyn_cast_or_null should be checked before use.
Otherwise we may put a null point...
Add assertions to verify that.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340990 ...
07caa2ca0078685af3048a81f0a03a2a8d08cd94 authored about 6 years ago by Artem Dergachev <[email protected]>Extension of the mismatched iterator checker for constructors taking range of first..last (first...
0069fa24ec913f353084262baacf16f7906b95a4 authored about 6 years ago by Adam Balogh <[email protected]>
Dumping graphs instead of opening them is often very useful,
e.g. for transfer or converting to ...
Some of the comments are incorrect, imprecise, or simply nonexistent.
Since I have a better gras...
It now actually produces a signed APSInt when the QualType passed into it is
signed, which is wh...
Turns out it can't be removed from the analyzer since it relies on CallEvent.
Moving to staticA...
f9afec8be9196eb1e99e29e74d21922645c4e1a2 authored about 6 years ago by George Karpenkov <[email protected]>
A lot of code in RetainCountChecker deals with GC mode.
Given that GC mode is deprecated, Apple ...
Differential Revision: https://reviews.llvm.org/D50879
git-svn-id: https://llvm.org/svn/llvm-pr...
fb97f8266ca3d442739e263b53e7a0f978430e6d authored about 6 years ago by George Karpenkov <[email protected]>
Summary:
With this patch, the SMT backend is almost completely detached from the CSA.
Unfortuna...
f7f6fad57e97ede138b9864f49690f75f1a44f55 authored about 6 years ago by Mikhail R. Gadelha <[email protected]>