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

[ASTImporter] Fix redecl failures of FunctionTemplateSpec

Summary:
Redecl chains of function template specializations are not handled well
currently. We w...

f6f53c0d9bc5c14a4cc1ebd9dfb9ae01fc570703 authored almost 6 years ago
[ASTImporter] Fix redecl failures of ClassTemplateSpec

Summary:
Redecl chains of class template specializations are not handled well
currently. We want...

e99393cc7ff622c1e730bfb176a579dd3cd3f5af authored almost 6 years ago
[OpenCL] Improved testing of default header.

Improved some checks and moved testing of the default header
in C++ mode into the Headers folder...

03da18856a7340f59d3f9c33bab36bf44665f787 authored almost 6 years ago
[clang-format] [JS] handle private members.

Addresses PR40999 https://bugs.llvm.org/show_bug.cgi?id=40999

Private fields and methods in Jav...

6e5c5ff2d98f297fcfbb107f00010b792c4a8b14 authored almost 6 years ago
[clang-format] [JS] Don't break between template string and tag

Before:
const x = veryLongIdentifier
`hello`;
After:
const x =
veryLongI...

e40a5a512cae6848aa78ddf8194f1ef1fa0798e2 authored almost 6 years ago
[Tooling] Add more scope specifiers until spelling is not ambiguous.

Summary:
Previously, when the renamed spelling is ambiguous, we simply use the
full-qualfied nam...

cdfada4895ab5c5e55e5e53e7d2a7aa9156d574a authored almost 6 years ago
Refactor cast<>'s in if conditionals, which can only assert on failure.

Summary:
This patch refactors several instances of cast<> used in if
conditionals. Since cast<>...

64aa9a1dd1600e10da95a2a42d79e95ed0e53d7c authored almost 6 years ago
Propagating prior merge from 'llvm.org/master'.

44e9f076e5900d831464f31ce3c118a889cfc746 authored almost 6 years ago
[WebAssembly] Change wasm.throw's first argument to an immediate

Summary:
`wasm.throw` builtin's first 'tag' argument should be an immediate index
into the event...

db1579bf88f1a45d81d3648745067afa4ac95956 authored almost 6 years ago
Factor out repeated code parsing and concatenating header-names from

tokens.

We now actually form an angled_string_literal token for a header name by
concatenation r...

bada7f5143e28101db8a88252bdb5cd56f0c417e authored almost 6 years ago
Don't apply the include depth limit until we actually decide to enter

the file.

NFC unless a skipped #include is found at the final permitted #include
level.

git-svn...

6e323b2030566b88627f140e5675bf7aed04bc07 authored almost 6 years ago
Merge remote-tracking branch 'origin/swift-5.1-branch' into stable

971729b5c5f69337f756ce6abb23ddc75a8eeb51 authored almost 6 years ago
[CodeGen][ObjC] Remove the leading 'l' from symbols for protocol

metadata and protocol list

The leading 'l' tells ld64 to remove the symbol name, which can make
...

bb1966e137c71fac85e23d4d4c3bf1b264305fd4 authored almost 6 years ago
Merge pull request #277 from ributzka/PR-TAPISupport-5.1

Support building the TAPI project as Clang tool.

254faf1f55a645b321bcb3de6e80b6b0e064712c authored almost 6 years ago
Minor renaming as suggested in review [NFC]

See D59455.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356430 91177308-0d34-0410-b...

8478675074cc50d3534e966bd1c8488e6f8fcfef authored almost 6 years ago
Thread safety analysis: Add note for unlock kind mismatch

Summary:
Similar to D56967, we add the existing diag::note_locked_here to tell
the user where we...

ae6410c918412e7921d3722e20b3a5600ae3e46c authored almost 6 years ago
[MS] Skip vbase construction in abstract class ctors

As background, when constructing a complete object, virtual bases are
constructed first. If an e...

1752683c9362f7357d7ed3ff55ea5b4eac70caaf authored almost 6 years ago
[X86] Add gcc rotate intrinsics to ia32intrin.h

This is another attempt at what Erich Keane tried to do in r355322.

This adds rolb, rolw, rold,...

0ef5288535ee3984d3c297bf9f8341a7594e68ef authored almost 6 years ago
[Sema] Add some compile time _FORTIFY_SOURCE diagnostics

These diagnose overflowing calls to subset of fortifiable functions. Some
functions, like sprint...

25d062ee4f1b683ccfeefb177d289eac901851cc authored almost 6 years ago
[OPENMP] Set scheduling for doacross loops as schedule, 1.

The default scheduling for doacross loops is changed from static to
static, 1.

git-svn-id: http...

2bc6178db36348e53054ce2f5b7816da1bae580e authored almost 6 years ago
[AMDGPU] Add the missing clang change of the experimental buffer fat pointer

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356385 91177308-0d34-0410-b5e6-96231b3b80d8

c6f3df06c9c5f1eac22de67db66e158f4fb472b4 authored almost 6 years ago
CodeGen: Preserve packed attribute in constStructWithPadding.

Otherwise the object may have an incorrect size due to tail padding.

Differential Revision: htt...

b5ffcec6f7255521855f043ae82954c0af91e527 authored almost 6 years ago
Propagating prior merge from 'llvm.org/master'.

e240e905fa4119519896cc93b42ef19a0d253f32 authored almost 6 years ago
Add testcase from bug 41079

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356354 91177308-0d34-0410-b5e6-96231b3b80d8

22c3cb719e409e4982af795deca2f25d0594ecc9 authored almost 6 years ago
Propagating prior merge from 'llvm.org/master'.

aa7da82f1ae3e1ef9f96a22b1d3dae5f6a117311 authored almost 6 years ago
CodeGen: Preserve packed attribute in constStructWithPadding.

Otherwise the object may have an incorrect size due to tail padding.

Differential Revision: htt...

886a8403b9e9828aefc76b8d7c8187210dd121d6 authored almost 6 years ago
[analyzer] ConditionBRVisitor: Unknown condition evaluation support

Summary:
If the constraint information is not changed between two program states the
analyzer ha...

1f558de1b9f8d8261602eb665ff4e72bb219a382 authored almost 6 years ago
[analyzer] ConditionBRVisitor: Remove GDM checking

Summary:
Removed the `GDM` checking what could prevent reports made by this visitor.
Now we rely...

797cb7e86687b94b377386417699e35ec7104185 authored almost 6 years ago
Revert "[analyzer] ConditionBRVisitor: Remove GDM checking"

This reverts commit f962485adad9d646511fd3240c0408d9554e6784.

git-svn-id: https://llvm.org/svn/...

ab24926ff777a89e717e8e5f478bcde75989a7ac authored almost 6 years ago
Revert "[analyzer] ConditionBRVisitor: Unknown condition evaluation support"

This reverts commit 0fe67a61cd4aec13c7969a179517f1cc06ab05cd.

git-svn-id: https://llvm.org/svn/...

61c69cbbca443c04ea5740678444e9eb80ce68a1 authored almost 6 years ago
[analyzer] ConditionBRVisitor: Unknown condition evaluation support

Summary: If the constraint information is not changed between two program states the analyzer ha...

1d92e20334c33d090f930865d60db248247e2c94 authored almost 6 years ago
[analyzer] ConditionBRVisitor: Remove GDM checking

Summary: Removed the `GDM` checking what could prevent reports made by this visitor. Now we rely...

ef1d401f90156e7edc55857740fd3a5032b888c9 authored almost 6 years ago
[WebAssembly] Use rethrow intrinsic in the rethrow block

Summary:
Because in wasm we merge all catch clauses into one big catchpad, in
case none of the t...

ff8d63d7891082c24b8a8bce0016bf43623405f4 authored almost 6 years ago
Merge remote-tracking branch 'origin/swift-5.1-branch' into stable

3b69e77a22b9d22dc4eb1d00a6ac903a62ab35f1 authored almost 6 years ago
[analyzer] Teach scan-build to find clang when installed in /usr/local/bin/

Change scan-build to support the scenario where scan-build is installed in
$TOOLCHAIN/usr/local/...

ba2109ecb1c4fa94109f0e2c4e985b6af24a38d2 authored almost 6 years ago
[analyzer] Teach scan-build to find clang when installed in /usr/local/bin/

Change scan-build to support the scenario where scan-build is installed in
$TOOLCHAIN/usr/local/...

a8c64ce548393310c065c7dfe08fb676e3f25370 authored almost 6 years ago
Propagating prior merge from 'llvm.org/master'.

25966b4eb7f975468dbfd04958030a4429301113 authored almost 6 years ago
hello, clang

Test commit with head and body.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356307 ...

e479127491a4e1edc02cf46768a47e9921a73e51 authored almost 6 years ago
[coroutines][PR40978] Emit error for co_yield within catch block

Summary:
As reported in https://bugs.llvm.org/show_bug.cgi?id=40978, it's an
error to use the `c...

ca894734be1f06683c941a0037e5739a74310637 authored almost 6 years ago
[CUDA][Windows] Partial fix for bug 38811 (Step 2 of 3)

Partial fix for the clang Bug 38811 "Clang fails to compile with CUDA-9.x on Windows".

[Synopsi...

fc62308da45f483cd97bcf823f5a01b025f6a8ba authored almost 6 years ago
[HIP-Clang] propagate -mllvm options to opt and llc

Change the HIP Toolchain to pass the OPT_mllvm options into OPT and LLC stages. Added a lit test...

c386253f5bb5a1f8a781e9eaedce21d413e40011 authored almost 6 years ago
[CUDA][Windows] Partial fix for bug #38811 (Step 1 of 3)

Partial fix for the clang Bug https://bugs.llvm.org/show_bug.cgi?id=38811 "Clang fails to compil...

6d309ff6db0f5698134545c906b7f05f6826d752 authored almost 6 years ago
Make getFullyQualifiedName qualify both the pointee and class type for member ptr types

We already handle pointers and references, member ptrs are just another
special case. Fixes PR40...

96fadfc081a928c036cd457470f976c9de4ae736 authored almost 6 years ago
Propagating prior merge from 'llvm.org/master'.

7f685f930c606ee4428746ca8619b1b66af3ba61 authored almost 6 years ago
Remove an assert in template pack deduction during nested instantiation.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356231 91177308-0d34-0410-b5e6-96231b3b...

cd0904bf74d77bf609692f2861180c852f435947 authored almost 6 years ago
Add missing override specifier [NFC]

This should fix a -Winconsistent-missing-override warning that is only
visible when Z3 is enable...

4fc351312155da191a72e051654e02d011fc2b9a authored almost 6 years ago
Merge remote-tracking branch 'origin/swift-5.1-branch' into stable

188f11498f2264bcf624665fa5ed450283f07c0d authored almost 6 years ago
[analyzer] RetainCount: A function isn't a CFRetain if it takes no arguments.

Don't crash when a function has a name that starts with "CF" and ends with
"Retain" but takes 0 ...

3fd2ce2d376226a37f46071856beb5bcf65d59c4 authored almost 6 years ago
[analyzer] Support C++17 aggregates with bases without constructors.

RegionStore now knows how to bind a nonloc::CompoundVal that represents the
value of an aggregat...

fa964a3d3fa9be7d6ebb42d4bdfa8492fababf66 authored almost 6 years ago
Reland the rest of "Add AIX Target Info"

llvm-svn 356197 relanded previously failing test case max_align.c.
This commit will reland the r...

849c99fd3c688b3414cf31ab4c11ae5db27abb11 authored almost 6 years ago
[OPENMP]Fix crash for the ordered(n) clause.

If the doacross lop construct is used and the loop counter is declare
outside of the loop, the c...

bb8bb54e3357f85510e22cebf5cb21e89a57ffb1 authored almost 6 years ago
Reland part of "Add AIX Target Info"

This patch reland the test case max_align.c which is failing at
Windows and PS4 platform in the ...

d8fe413610338c120a5297733d8b8459d529431b authored almost 6 years ago
[CodeGen] Consider tied operands when adjusting inline asm operands.

The constraint "0" in the following asm did not consider the its
relationship with "=y" when try...

f891c225aa074b7566d78cd3851b55f3e7261fbf authored almost 6 years ago
[Sema] Fix a use-after-free of a _Nonnull ParsedAttr

We were allocating the implicit attribute in the declarator's attribute pool,
but putting into t...

6856cf460cddf25ef05c7dc655691d0202e5f383 authored almost 6 years ago
[Sema] Fix a use-after-free of a _Nonnull ParsedAttr

We were allocating the implicit attribute in the declarator's attribute pool,
but putting into t...

bcc9b7f48e0e739f34114f6776a8ae317cbe9a56 authored almost 6 years ago
Add PragmaHandler for MSVC pragma execution_character_set

__pragma(execution_character_set(push, "UTF-8")) is used in
TraceLoggingProvider.h. This commit ...

d2d8393da1878076623325a0f5102fc9dec3e10a authored almost 6 years ago
Merge remote-tracking branch 'upstream/master' into upstream-with-swift

a8bb806ba793f36b27bd72837f9b2e494c9773ac authored almost 6 years ago
[analyzer] Fix an assertation failure for invalid sourcelocation, add a new debug checker

For a rather short code snippet, if debug.ReportStmts (added in this patch) was
enabled, a bug r...

4e383db1248f747a8bdc72e474af2033c49e6ad8 authored almost 6 years ago
[CodeGen][ObjC] Remove the leading 'l' from symbols for protocol

metadata and protocol list

The leading 'l' tells ld64 to remove the symbol name, which can make
...

a751cfc2dbf32743510ec2ad3e2829eef386b095 authored almost 6 years ago
Fix test after r356148

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356154 91177308-0d34-0410-b5e6-96231b3b80d8

ee48ebcab78d8c6332dfe00a85580bd52b36592e authored almost 6 years ago
Remove unused variable to silence compiler warning [NFC]

The only use of MI was removed in r356142.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/tr...

16aa52b2b5f201612de2ecb41a63cbb254de9b42 authored almost 6 years ago
[ASTImporter] Fix import of NestedNameSpecifierLoc.

Summary:
Import type location in case of TypeSpec and TypeSpecWithTemplate.
Without this fix the...

c11ba05ef0320273a094ddd5d739683d3137999d authored almost 6 years ago
Objective-C++11: Support static_assert() in @interface/@implementation ivar lists and method declarations

This adds support for static_assert() (and _Static_assert()) in
@interface/@implementation ivar ...

e615fa35aac81a52f5185dd5bbd4fd46e487ec8e authored almost 6 years ago
[analyzer] Fix function macro crash

Re-commit D57893.

Differential Revision: https://reviews.llvm.org/D57893

git-svn-id: https://...

d22a19d56f875990e41082db2254ede11d73e8bc authored almost 6 years ago
[X86] Only define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 in 64-bit mode.

Summary:
This define should correspond to CMPXCHG16B being available which requires 64-bit mode....

f213fe058c0995be67f8e1fb6763e51a222cda23 authored almost 6 years ago
Propagating prior merge from 'llvm.org/master'.

537bc2a55406d9d280cae8dbbf6e5e47ccd0ae92 authored almost 6 years ago
Merge remote-tracking branch 'origin/swift-5.1-branch' into stable

e8df2144d16195cfdfd5ac6d8e79c4130a8e3874 authored almost 6 years ago
Fix invocation of Gold plugin with LTO after r355331

The above commit breaks the usage of PGO and LTO when -fprofile-use is
supplied without a path. ...

1437396543aad71aa26679ff366cf0266d6a4e0d authored almost 6 years ago
Revert "Add a new attribute, fortify_stdlib"

This reverts commit r353765. After talking with our c stdlib folks, we decided
to use the existi...

7ba0896ce5d3334d19a42288f6b5dc58a25f546e authored almost 6 years ago
[clang-format] Propagate inferred language to getLLVMStyle() in getPredefinedStyle()

rC355158 added an optional language parameter to getLLVMStyle(), but this parameter was not used...

937655622bbdb31649924efac7e751d1e03f7515 authored almost 6 years ago
[OPENMP]Fix PR37283: Assertion failure on openmp task with by reference

array.

If the firstprivate variable is a reference, we may incorrectly classify
the kind of the ...

6371f3f160439dcaa0e384e6871a0b984a74f3fe authored almost 6 years ago
[clang-format][NFC] Include TableGen in enum->string mapping used for debugging

Running `clang-format -debug` prints "Unknown" for tablegen files because of this missing mappin...

b8a307083a640d59f6459c7be2a7e6c4f035bd43 authored almost 6 years ago
[LibTooling] Add retrieval of extended AST-node source to FixIt library

Summary:
Introduces variants of `getText` and `getSourceRange` that extract the source text of a...

855491fe71084bff2086803f7c3e1a6b6f34b4bf authored almost 6 years ago
[OPENMP]Disable ADL in C for user-defined reductions.

C does not support ADL, disable it for C to prevent compiler crash.

git-svn-id: https://llvm.or...

05277972dbf13464c071398827ea5ea16a50f1dc authored almost 6 years ago
[Analyzer] Clean up test/Analysis/ptr-sort.cpp

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356088 91177308-0d34-0410-b5e6-96231b3b80d8

280ebce9b1f6e585e81cbb82cdd31625e37e7a88 authored almost 6 years ago
Fix a failing test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356087 91177308-0d34-0410-b5e6-96231b3b80d8

c4105ffd06192653948321386400f72449e93a5b authored almost 6 years ago
[Analyzer] Update the LLVM license in PointerSortingChecker.cpp

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356086 91177308-0d34-0410-b5e6-96231b3b80d8

082fb78298ade202719ad828922feec22156639f authored almost 6 years ago
[SemaCXX] Fix ICE with structure bindings to members of template

Summary:
Trying to use structure binding with a structure that doesn't implement
std::tuple_size...

dc19f46d11b04a94f29c8d759d4bec6b10983465 authored almost 6 years ago
[Parse] Parse '#pragma clang attribute' as an external-declaration

Previously, we parsed it only in the top level, which excludes namespaces and
extern "C" blocks....

32f5643c4e866373e8130af7c6fce643c374bf82 authored almost 6 years ago
[OPENMP][NVPTX]Fix PR40893: Size doesn't match for

'_openmp_teams_reductions_buffer_$_.

nvlink does not handle weak linkage correctly, same symbols...

d6626f448a2bcb40cc1a318971abdc98c9072ec2 authored almost 6 years ago
Revert "Add AIX Target Info"

This reverts commit 4e192d0e1e72ce32fabf1bccc06ac31ab5385e78.
The newly added test case max_alig...

82ec7d957feed5e1195f4a4adf979d0891ba75ab authored almost 6 years ago
[libclang] Expose aligned() attribute.

Summary:
This is useful because otherwise there's no easy way to distinguish #pragma
packed(N) f...

541c705c691ec5bb873e8220f8d700849e2f5df5 authored almost 6 years ago
Add AIX Target Info

Summary:
A first pass over platform-specific properties of the C API/ABI
on AIX for both 32-bit ...

bc8019d56ead81925c79b6cab11a157de9ccf071 authored almost 6 years ago
[Analyzer] Skip symbolic regions based on conjured symbols in comparison of the containers of iterators

Checking whether two regions are the same is a partially decidable problem:
either we know for s...

ec9dd97583f7356ee12ff2227fb8de15a4770755 authored almost 6 years ago
[AST] Improve support of external layouts in `MicrosoftRecordLayoutBuilder`

Summary:
This patch fixes several small problems with external layouts support in
`MicrosoftReco...

849c257a9b781ca898bc807b97f4494b9a8de218 authored almost 6 years ago
Propagating prior merge from 'llvm.org/master'.

32c86d0ee45b3713f3f69d429f577a9013e4e318 authored almost 6 years ago
[clang-format] [PR25010] AllowShortIfStatementsOnASingleLine not working if an "else" statement is present

Summary:
Addressing: PR25010 - https://bugs.llvm.org/show_bug.cgi?id=25010

Code like:

```
...

fed577da962afe517c71a6120ba0b76b66dce648 authored almost 6 years ago
Revert "[clang-format] [PR25010] AllowShortIfStatementsOnASingleLine not working if an "else" statement is present"

This reverts commit b358cbb9b78389e20f7be36e1a98e26515c3ecce.

git-svn-id: https://llvm.org/svn/...

c7f101d7ac7ea1cedaf1915cff124c5bd2f8f9dc authored almost 6 years ago
[clang-format] [PR25010] AllowShortIfStatementsOnASingleLine not working if an "else" statement is present

Summary:
Addressing: PR25010 - https://bugs.llvm.org/show_bug.cgi?id=25010

Code like:

```
...

0ba0294ffd68b08a82fbcf6e132974363331e777 authored almost 6 years ago
[X86] Remove 'cx16' from 'prescott' and 'yonah' as they are 32-bit only CPUs and cmpxchg16b requires 64-bit mode.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356008 91177308-0d34-0410-b5e6-96231b3b80d8

309f4aff2af55a8838c7cb790acd4293f3e3d49f authored almost 6 years ago
[X86] Add 'yonah' test to predefined-arch-macros.c test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356007 91177308-0d34-0410-b5e6-96231b3b80d8

2ce05a5855b863530086ab324f5ffcd928981a60 authored almost 6 years ago
Delete unused declaration of DeclContextPrintAction after the removal of -print-decl-contexts by D52529

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356005 91177308-0d34-0410-b5e6-96231b3b80d8

183113c6a58c84087706b6268234bf54cbcb1302 authored almost 6 years ago
Support building the TAPI project as Clang tool.

Add build system support to build the TAPI project as Clang tool.

cb2e06e13a00ed70981e0f04f376c262281fc40c authored almost 6 years ago
Add XCOFF triple object format type for AIX

This patch adds an XCOFF triple object format type into LLVM.
This XCOFF triple object file type...

85a69c7d7782c31d5946f03819c84f5b42d290e0 authored almost 6 years ago
[NFC][clang][PCH][ObjC] Add some missing `VisitStmt(S);`

Summary:
These ObjC AST classes inherit from Stmt, but don't call `VisitStmt(S);`.
Some were fou...

6efa0a5616535c6854acc9e0a8f136c3fa801ba7 authored almost 6 years ago
Reland "[Remarks] Add -foptimization-record-passes to filter remark emission"

Currently we have -Rpass for filtering the remarks that are displayed as
diagnostics, but when u...

41572cdade8f51dc0c61dca29787cd136acef338 authored almost 6 years ago
Revert "[Remarks] Add -foptimization-record-passes to filter remark emission"

This reverts commit 20fff32b7d1f1a1bd417b22aa9f26ededd97a3e5.

git-svn-id: https://llvm.org/svn/...

d4298b95a4d6b833731f9f9e8e369fbef1f0dd42 authored almost 6 years ago
[Remarks] Add -foptimization-record-passes to filter remark emission

Currently we have -Rpass for filtering the remarks that are displayed as
diagnostics, but when u...

a36fd6c4b1ea3b2c9e9599199fb7ecd30e05a26e authored almost 6 years ago
[OPENMP]Allow to redefine entry for the variables definitions.

If the variable was declared and marked as declare target, a new offload
entry with size 0 is cr...

75f1e8f006eeba5eb29f7976bfe0af66d32e8874 authored almost 6 years ago
[OPENMP 5.0]Initial support for 'allocator' clause.

Added parsing/sema analysis/serialization/deserialization for the
'allocator' clause of the 'all...

457ce20d09c5fedf7e606d6a49bba9fa81f8caea authored almost 6 years ago