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
98f6882a44fd05c9b58e8c69007778c696be6d9f authored almost 6 years ago
This patch is more of a fix than a real improvement: in checkPostCall()
we should return immedia...
Fixes PR40409
Differential Revision: https://reviews.llvm.org/D61174
git-svn-id: https://llvm....
a5afdc4aba951595da88f793488fe431faed8bf1 authored almost 6 years agoclass-scope explicit specialization of a class template.
git-svn-id: https://llvm.org/svn/llvm-p...
51d7df37f879c620054622b383b5401e69b0852a authored almost 6 years ago
In the OSObject universe there appears to be another slightly popular contract,
apart from "crea...
Because RetainCountChecker has custom "local" reasoning about escapes,
it has a separate facilit...
the assertion is in fact incorrect: there is a cornercase in Objective-C++
in which a C++ object...
const-qualified type is not implicitly given internal linkage. But a
variable template declared '...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359261 91177308-0d34-0410-b5e6-96231b3b80d8
2963769395a74e1ecb14f2be617fc2b5c977dc11 authored almost 6 years agointernal linkage entities.
Such constructs are ill-formed by [temp.explicit]p13. We make a speci...
6035bca43a7fa17c8650b4611debda472f4c8754 authored almost 6 years agoThis reverts r359257 (git commit 00d9789509a4c573a48f60893b95314a119edd42)
This broke check-cla...
f06d3729e5776249fc94371a17b214dffc79cae2 authored almost 6 years ago
Summary:
This is a follow up to r355253, which inadvertently broke Visual
Studio builds by tryin...
This reverts r359250 (git commit 4730604bd3a361c68b92b18bf73a5daa15afe9f4)
The newly added test...
9b721c98f7ed618749510d1a3280205ad58cf551 authored almost 6 years ago
Statically link certain runtime library functions for MSVC/GNU Windows
environments. This is con...
These builtins provide access to the new integer and
sub-integer variants of MMA (matrix multipl...
Revert the part of changes in r359215 that failing in some platforms.
I will re-enable them late...
Caused by incorrect strlcat() modeling in r332303,
cf. https://bugs.llvm.org/show_bug.cgi?id=376...
(this would regress size without a corresponding LLVM change that avoids
putting other user defi...
Path lists on windows should always be separated by semicolons, not
colons. Reuse llvm::sys::Env...
https://bugs.llvm.org/show_bug.cgi?id=41590
For the following code snippet, UninitializedObject...
d8f5c573f20c284225f502ccb3031839474a74f3 authored almost 6 years ago
This test was updated with some CHECK suffix variants, but dropped
checking for the unsuffixed '...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359216 91177308-0d34-0410-b5e6-96231b3b80d8
dd0d6d707d38219b9a3788d76732d7642228fac4 authored almost 6 years agoCurrently InstrProf lowering is not enabled for Clang PGO instrumentation in
the new pass manager...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359212 91177308-0d34-0410-b5e6-96231b3b80d8
59463dbce1aba014537989dc283473f863dd1548 authored almost 6 years agoloop nests.
Added a checks that the initializer/condition expressions depend only
only of the si...
Renamed function a01 in the test to fix possible problems with the git
hash match during testing...
Summary:
Annotations allow writing nice-looking unit test code when one needs
access to location...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359172 91177308-0d34-0410-b5e6-96231b3b...
f96b3f1e98b1251ff19a5895cda9e1d840d3c209 authored almost 6 years agodc0a858840ec45a686516ece9f57b54b1b72000e authored almost 6 years ago
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359164 91177308-0d34-0410-b5e6-96231b3b80d8
ff8b0dadb35917334176b5def423188bf28fad2e authored almost 6 years ago9e3bdabb980094437e252557a452246076d7fddf authored almost 6 years ago
Thanks to Nico Weber for pointing this out!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/t...
6c1d0ed3073befa254076905fcba299b73053250 authored almost 6 years agotest.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359155 91177308-0d34-0410-b5e6-962...
517791705e220b26bb307330fbb72566b516d095 authored almost 6 years ago
Summary:
Add a new variant to GlobalDecl for these so that we can detect them
more easily during...
Added basic semantic analysis for the non-rectangular loop nests for
OpenMP 5.0 support.
git-sv...
3065f15c2ec8b826e0c88b1971ffb53207cd5725 authored almost 6 years agorecursively captured.
Under ARC, a block variable is zero-initialized when it is recursively
cap...
Differential Revision: https://reviews.llvm.org/D61029
git-svn-id: https://llvm.org/svn/llvm-pr...
ca05192d00fe5c37570fe369f160ffe119545c34 authored almost 6 years agogit-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359098 91177308-0d34-0410-b5e6-96231b3b80d8
329eb5c6baeca0a1bd6b1a5bd55e41de786f39fa authored almost 6 years agoThe lit shell couldn't handle these run lines.
git-svn-id: https://llvm.org/svn/llvm-project/cf...
cda3d286934fcc7de3687bb8a178947a8266d1f8 authored almost 6 years ago
Summary:
Include insertion in clangd was inserting absolute paths when the
include directory was...
e265ec78b0a31bcb9652776c32eabb4145723dc6 authored almost 6 years ago
The behaviour of not quoting spaces appears to have been introduced by
mistake in r190620.
Patc...
14dec3f3c53452cd32e65f38b6f241a9ed4584c9 authored almost 6 years agoThe change breaks libc++ with the follwing error:
In file included from valarray:4:
.../include...
Reviewers: sammccall
Differential Revision: https://reviews.llvm.org/D60995
git-svn-id: https:...
cb27266d3b1a362acd736ee802ebed8a166e2175 authored almost 6 years ago
Summary:
This patch implements `__builtin_is_constant_evaluated` as specifier by [P0595R2](https...
of an auto"
This commit changed the initializer expression passed into
initialization (stripping...
current trunk GCC.
GCC permits information from outside the operand of
__builtin_constant_p (but...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359057 91177308-0d34-0410-b5e6-96231b3b80d8
5a57d357a3c90064f483ffd15d82051611651a60 authored almost 6 years agogit-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359054 91177308-0d34-0410-b5e6-96231b3b80d8
6516015ff03e3bdd59be4ab37aa5399d4f10e2a5 authored almost 6 years agointroduce any names.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359051 91177308-0d3...
01f976def19d3a1f90fa7dc40d11f15b9f610d2c authored almost 6 years agorecursively captured.
Under ARC, a block variable is zero-initialized when it is recursively
cap...
const-qualified type is not implicitly given internal linkage. But a
variable template declared '...
AMDGPU currently relies on global properties being set before
setTargetProperties is called. Exi...
If macro "CHECK_X(x)" expands to something like "if (x != NULL) ...",
the "Assuming..." note no ...
It now comes with a follow-up fix for the clients of this API
in clangd and clang-tidy.
Differe...
ac703ee6db1d20aa8884f017ac2329d188e4ceef authored almost 6 years agobuildbot failure.
This reverts commit d07d6d617713bececf57f3547434dd52f0f13f9e and
c774f687b6880...
Fix PR36119
Differential Revision: https://reviews.llvm.org/D60996
git-svn-id: https://llvm.or...
9ba05e9897f48e3ba766dc37f395b3b67056b071 authored almost 6 years agoDiagnostics count
8db2425afca6ba52b3922068100280c38c3f42f9 authored almost 6 years ago
Summary:
The opt level was not being passed down to the ThinLTO backend when
invoked via clang (...
Until the local diagnostics are upstreamed, we need to track the number of
diagnostics that we a...
Without this patch, APSInt inherits APInt::isNegative, which merely
checks the sign bit without ...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359009 91177308-0d34-0410-b5e6-96231b3b80d8
2b40adf14c760dd397f7fbf06aa89149df17aa7b authored almost 6 years agogit-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358973 91177308-0d34-0410-b5e6-96231b3b80d8
bacdda22396c39181aa0e641182e01a0b3cf43ea authored almost 6 years ago
A variable was redeclared instead of assigned in an internal
block, leaving the original uniniti...
Summary:
The existing CTU mechanism imports `FunctionDecl`s where the definition is available in...
A compilation warning was in my previous commit which broke the buildbot
because it is using `-W...
bca43c261dd8eadb044519a621fcc59ea8c14eb6 authored almost 6 years ago
For the clang driver, -DLLVM_ENABLE_ASSERTIONS=off builds default to discard value names.
git-s...
70be40fb9467d3941d1a37a7f9dbb638c2e7d2dd authored almost 6 years ago
Currently iterator checkers record comparison of iterator positions
and process them for keeping...
Port mmintrin.h which include x86 MMX intrinsics implementation to PowerPC platform (using Altiv...
de154851ca2a78dc229688318ae7f6840597eafd authored almost 6 years ago
When growing a body on a body farm, it's essential to use the same redeclaration
of the function...
Stuffing invalid source locations (such as those in functions produced by
body farms) into path ...
Implement cplusplus.SmartPtrModeling, a new checker that doesn't
emit any warnings but models me...
This is a more generic solution; while the sanitizer support can be used
only for sanitizer inst...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358932 91177308-0d34-0410-b5e6-96231b3b80d8
30cd644f80ad3c0b8c3bbbf38f20f31f602b2505 authored almost 6 years ago
Previously, it was only documented by `-cc1 -help`, so people weren't
aware of it, as discussed ...
Summary:
isClassMessage is an equivalent to isInstanceMessage for ObjCMessageExpr, but matches m...
Summary:
* Removed a member that was only used during construction.
* Use range-based for iterat...
CWG 1691 changed the definition of the namespaces associated with a class
type or enumeration ty...
The goal here is to exercise each rule in [basic.lookup.argdep] at least once.
These new tests e...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358877 91177308-0d34-0410-b5e6-96231b3b...
4ea8f1222bdea2cad4fb56224c990871d7d0dd0c authored almost 6 years agoc842af11fd16e862612312a2d9d709e512de7a30 authored almost 6 years ago
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358858 91177308-0d34-0410-b5e6-96231b3b80d8
2e513c06257d0348300660beabc6782f34579896 authored almost 6 years ago
Clang emits a warning when using a pure specifier =0 in a function definition
at class scope (a ...
20ca9ba3020c5852f43135d472fb2038dcbeeddb authored almost 6 years ago
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358724 91177308-0d34-0410-b5e6-96231b3b8...
b3bb19418e78d567fbae7046d9c5a6189d4586d6 authored almost 6 years ago
Default RegionStore bindings represent values that can be obtained by loading
from anywhere with...
Put them in a header for other Analyzer unittests to include.
Differential Revision: https://re...
bc9532dce61acb2462cdb46d571fd400a22e5440 authored almost 6 years agoThis -verify=prefix feature is quite underrated.
Differential Revision: https://reviews.llvm.or...
3d305b112c866ebdd6f211f6e52ecc4e435b1ad9 authored almost 6 years ago
Writing stuff into an argument variable is usually equivalent to writing stuff
to a local variab...
Class stubs fixes
c68fb8ba9fa63de9f392a724a332107b63e23e27 authored almost 6 years ago
Moved UninitializedObjectChecker from the 'alpha.cplusplus' to the
'optin.cplusplus' package.
D...
11cb7ccfe388c08f7f415a6c887e5ef68f118c7e authored almost 6 years agob0f6841d52d8245030dd28f3231f6230f9456d58 authored almost 6 years ago
Exposed by a related bug about visibility of default arguments of nested
templates - without the...
The code is/was already correct for the case where a parameter is a
parameter of its enclosing l...
Summary:
This emits labels around heapallocsite calls and S_HEAPALLOCSITE debug
info in codeview...
This reapplies commit r357323, fixing memory leak found by LSan.
Differential Revision: https:/...
c7a7fdc9a326e21a0da5727e1b800ce9d7b9ef16 authored almost 6 years ago
Previously, if the MSVC installation isn't detected properly, clang
will later just fail to exec...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358775 91177308-0d34-0410-b5e6-96231b3b...
9bf0c4c44cb2e54f95d38d15ace3677c88d7ec00 authored almost 6 years agoBasic: increase diagnostics again
10a2fe7804c0b2a206f547545b5bc401cec8a9f4 authored almost 6 years ago