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

[CommandLineParser] Add DefaultOption flag

Summary: Add DefaultOption flag to CommandLineParser which provides a
default option or alias, b...

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

3f366349d3ebd50a3929e8a1211a3318f51f5eb6 authored almost 6 years ago
[verify] Add support for location markers in directives.

A marker (matching /#[A-Za-z0-9_-]/) is specified by attaching a comment
containing the marker t...

d6ffdd60ca761ac5dc9983ee3623e92d58a16ee8 authored almost 6 years ago
[analyzer] Escape pointers stored into top-level parameters with destructors.

Writing stuff into an argument variable is usually equivalent to writing stuff
to a local variab...

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

578c75a5c24a20fd66df1b2741101c4f3384ca9a authored almost 6 years ago
Merge pull request #297 from shafik/47784422_astimporter_fileid_fix

[ASTImporter] Handle built-in when importing SourceLocation and FileID and dependent change

5dd496fab8c1bdfb51f0ae626ef43c5bccdf83ce authored almost 6 years ago
Relanding r357928 with fixed debuginfo check.

[MS] Add metadata for __declspec(allocator)

Original summary:
Emit !heapallocsite in the metada...

31c307cf96ef1b6a4d0c542d18ebfd7a307ae9b0 authored almost 6 years ago
[ASTImporter] Handle built-in when importing SourceLocation and FileID

Summary:
Currently when we see a built-in we try and import the include location. Instead what w...

b6f50da6e52014baf8d7774221ee585455e84e17 authored almost 6 years ago
[ASTImporter] Improve import of FileID.

Summary:
Even if the content cache has a directory and filename, it may be a virtual file.
The o...

356c0fc7674680a4bde112facd6d27c01a889902 authored almost 6 years ago
Variable auto-init: also auto-init alloca

Summary:
alloca isn’t auto-init’d right now because it’s a different path in clang that
all the ...

be553b4bd41c321f2d6581fdfbee973f69446bda authored almost 6 years ago
[HIP] Use -mlink-builtin-bitcode to link device library

Use -mlink-builtin-bitcode instead of llvm-link to link
device library so that device library bi...

61e80a3678fbcf75f2e9f1cb9fdba9b2a76b260f authored almost 6 years ago
[AST][NFC] Add const children() accessors to all AST nodes

Systematically add the const-qualified version of children()
to all statement/expression nodes. ...

78607564933f0543d0e9cc402b7652be7ec59b71 authored almost 6 years ago
[asan] Add gcc 8's driver option -fsanitize=pointer-compare and -fsanitize=pointer-substract.

Disabled by default as this is still an experimental feature.

Reviewed By: thakis

Differential...

289230c994d946a75dd1bca18ffedd067939de24 authored almost 6 years ago
[AST] Forbid copy/move of statements/types

Statements, expressions and types are not supposed to be copied/moved,
and trying to do so is on...

e7e6841bf8eb929dcf9445ec9cea1f14c581bff0 authored almost 6 years ago
[Aarch64] Add v8.2-a half precision element extract intrinsics

Summary:
Implements the intrinsics define on the ACLE to extract half precision fp scalar elemen...

6df76a341e7e5a407a05c0c03bbff5dd77e2960e authored almost 6 years ago
[clang-format] Use SpacesBeforeTrailingComments for "option" directive

Summary:
AnnotatingParser::next() is needed to implicitly set TT_BlockComment
versus TT_LineComm...

806f4c2c6b3b73b30614fd95e33aeefe9e6a0a68 authored almost 6 years ago
[clangd] Print template arguments helper

Summary:
Prepares ground for printing template arguments as written in the
source code, part of ...

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

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

464429b4feeb7bfe805ab489bcb1de4f9cf044ae authored almost 6 years ago
Enable frame pointer elimination for OpenBSD on x86 and mips64.

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

1dd034ed5060fc6078bf56d5656cb1554f750de6 authored almost 6 years ago
Variable auto-init: also auto-init alloca

Summary:
alloca isn’t auto-init’d right now because it’s a different path in clang that
all the ...

eae000b4253d99ee3ce97cdfa6aa31947994661f authored almost 6 years ago
Merge pull request #296 from plotfi/upstream-with-swift

Fixing clang-refactor-test tests on Linux by adding -fobjc-runtime=ios-5.0

07f8db8baa39a241e2c453281e9f758f5e21f547 authored almost 6 years ago
Fixing clang-refactor-test tests on Linux by adding -fobjc-runtime=ios-5.0

On Linux, without -fobjc-runtime=ios-5.0 the following:

@implementation NoNeedForImplementation...

34a24d946ac87377200ea55112bd48e652233c5d authored almost 6 years ago
Revert r357610, it caused PR41471

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

5b41e92e1e63a49e451c201e09e38ffed031747c authored almost 6 years ago
[C++20] Implement context-sensitive header-name lexing and pp-import parsing in the preprocessor.

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

0fa9a240fda634ca0ff3c05214eb8e57c042d52d authored almost 6 years ago
Remove use of lookahead from _Pragma handling and from all other

internal lexing steps in the preprocessor.

It is not safe to use the preprocessor's token lookah...

444665e2192c2098b4e2bef3e715b71e222d04f3 authored almost 6 years ago
[DebugInfo] Combine Trivial and NonTrivial flags

Summary:
These flags are used when emitting debug info and needed to initialize subprogram and m...

806dfd40ffe936df909bd54860a0dd54cd11647c authored almost 6 years ago
[Sema] Fix a regression introduced in "[AST][Sema] Remove CallExpr::setNumArgs"

D54902 removed CallExpr::setNumArgs in preparation of tail-allocating the
arguments of CallExpr....

4734dd6c02b5b793784b2a7266c83e6118cffae9 authored almost 6 years ago
Support objc_nonlazy_class attribute on Objective-C implementations

Fixes rdar://49523079

Differential revision: https://reviews.llvm.org/D60544

git-svn-id: https...

a5b758c1ac710271a2b2bbf754f8298da4c9640e authored almost 6 years ago
Add support for attributes on @implementations in Objective-C

We want to make objc_nonlazy_class apply to implementations, but ran into this.
There doesn't se...

171d0d07cfa6b8206e171106f51788c59ccf9b2f authored almost 6 years ago
Support objc_nonlazy_class attribute on Objective-C implementations

Fixes rdar://49523079

Differential revision: https://reviews.llvm.org/D60544

git-svn-id: https...

765bbb23ecd4d62a84e932c8f23f867fcd3c1850 authored almost 6 years ago
Add support for attributes on @implementations in Objective-C

We want to make objc_nonlazy_class apply to implementations, but ran into this.
There doesn't se...

a12e071469fbd8ab16d06f7c99543cfec92284ee authored almost 6 years ago
Fix a test, NFC

This test was duplicated, and the last declaration had some syntax errors since
the invalid attr...

4d027ae7f3e6f01f55a5410c0cb1ad0a6deec889 authored almost 6 years ago
Merge pull request #295 from plotfi/upstream-with-swift-2

Fixing SemaObjC tests that take -x objective-c++ with -stdlib=libc++

7f4ea8f882cbdfc4432edba78b4cfe64c4b5dab1 authored almost 6 years ago
Add { } to silence compiler warning [NFC]

At least clang 3.6 warns on the original code:

../tools/clang/lib/CodeGen/CGNonTrivialStruct.cp...

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

08c6ba9a235c0b777a657ace625c5e6c06c16763 authored almost 6 years ago
[OpenCL] Re-fix invalid address space generation for clk_event_t arguments of enqueue_kernel builtin function

Summary:
https://reviews.llvm.org/D53809 fixed wrong address space(assert in debug build)
genera...

735ec25f02d064f5b30c94277349b698d41f0568 authored almost 6 years ago
Merge pull request #294 from plotfi/upstream-with-swift

Fixing swift-clang tests that fail due to missing PrintingPolicy init in ctor.

f4d278cbda0420572a6ff2655983c2c48b456e70 authored almost 6 years ago
Fixing SemaObjC tests that take -x objective-c++ with -stdlib=libc++

Clang :: SemaObjC/class-stub-attr-unsupported.m
Clang :: SemaObjC/class-stub-attr.m

c1265449bb476cce99b0c076aacc2304ef1e84b5 authored almost 6 years ago
Fix a test, NFC

This test was duplicated, and the last declaration had some syntax errors since
the invalid attr...

dd8b462c6459791fdabe97dceab56587da711577 authored almost 6 years ago
Check i < FD->getNumParams() before querying

Summary:
As was already stated in a previous comment, the parameter isn't
necessarily referring ...

b6c2a59e4dbc3456716d90b5b52712c5552d37d7 authored almost 6 years ago
[clang][ASTContext] Try to exit early before loading serialized comments from AST files

Loading external comments is expensive. This change probably doesn't apply to common cases but i...

515b0570852864af5aef68ceb94454e00a507f01 authored almost 6 years ago
Add IRGen APIs to fetch ctor/dtor helper functions for non-trivial structs.

Patch by Tony Allevato!

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

7fd06d80f0b2099b1ae792b5339a0428ae80797b authored almost 6 years ago
[OPENMP]Improve detection of number of teams, threads in target

regions.

Added more complex analysis for number of teams and number of threads in
the target reg...

dd7821f8092fffaddffb87250e4cdb305f8f9d21 authored almost 6 years ago
Fix for different build configurations.

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

f5d025e4a30b5f0dc1a4df85135e0ee507847342 authored almost 6 years ago
Fix an off-by-one mistake in IRGen's copy-construction

special cases in the presence of zero-length arrays.

Patch by Joran Bigalet!

git-svn-id: https:...

1e9879991b8e7f6f841c2c152cac7b04d291b4c8 authored almost 6 years ago
Fixing swift-clang tests that fail due to missing PrintingPolicy init in ctor.

The following tests that were failing were:

Clang :: OpenMP/for_simd_ast_print.cpp
Clan...

0b83f23ebf2b0a6a9100a2d343ed23ffac33df17 authored almost 6 years ago
Don't emit an unreachable return block.

Patch by Brad Moody.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358104 91177308-0d...

40afe0b6f2b39195e6c141d770b51a691c19000e authored almost 6 years ago
[CodeGen][ObjC] Emit the retainRV marker as a module flag instead of

named metadata.

This fixes a bug where ARC contract wasn't inserting the retainRV
marker when LT...

55054272cecafae63cc5c3805afb35ebe0d77b62 authored almost 6 years ago
clang-cl: Fix parsing of the /F option (PR41405)

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

4d870265930ba70c7163fb3e1d1f85aa16ba9708 authored almost 6 years ago
[CodeGen][ObjC] Emit the retainRV marker as a module flag instead of

named metadata.

This fixes a bug where ARC contract wasn't inserting the retainRV
marker when LT...

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

3860ed7a46b932bad8e43f985f79d955e25fcf39 authored almost 6 years ago
[OPENMP]Allow allocate directive on parameters.

Patch allows to use allocate directives on the function parameters.

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

1c5a77ab63d1abd64398ea2f76721e59d4517ad5 authored almost 6 years ago
Fixed comment as pointed out by post-commit review of D59845

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

7124668b361b03424654f5e840ddfc7c654bf66d authored almost 6 years ago
Add support for detection of devtoolset-8

Summary:
The current llvm/clang et al. project can be built with the latest developer toolset (d...

c3f67506b5e158045cc26e4d84c269ed9f737064 authored almost 6 years ago
[RISCV] Unbreak test from r357989

There were some errors in the committed test checks, left in due to a git
stash apply mishap.

...

dae000e835ee3913d2e89e825af3fe025f69ff04 authored almost 6 years ago
[RISCV][NFC] Minor fixup for r357989

One of the tests in riscv64-lp64-lp64f-lp64d would have had a different
lowering for lp64f/lp64d...

3f75f844354d62f04145d48e7259e0ea280fe82e authored almost 6 years ago
[RISCV][NFC] Refactor RISC-V ABI lowering tests in preparation for hard float patches

Split tests in to files representing the subset of RISC-V ABIs they should
have identical output...

d08e04fb77bbe4a4fbdf875deff4d5628016bd2e authored almost 6 years ago
[ASTImporter] Fix in ASTImporter::Import_New(const Decl *)

Make sure ASTImporter::Import_New(const Decl *) returns
a Expected<const Decl *> and not Expecte...

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

8dcf82452477189e75b0139d7ff39c442ef2dbfa authored almost 6 years ago
[clang-format] Add AfterCaseLabel to BraceWrapping

Fixes PR38686

llvm-svn: 52527

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

764bd63e5b6b19051d14a3172ee82fb3e83b8857 authored almost 6 years ago
Revert "[MS] Add metadata for __declspec(allocator)"

This reverts commit e7bd735bb03a7b8141e32f7d6cb98e8914d8799e.
Reverting because of buildbot fail...

ec5793391fb1c7a72444b844f634d122ad12b2c7 authored almost 6 years ago
Move the builtin headers to use the new license file header.

Summary:
These all had somewhat custom file headers with different text from the
ones I searched...

38057e002c45d115e9a9b0abf15fdb7d852537b2 authored almost 6 years ago
[ASTImporter] Call to HandleNameConflict in VisitEnumDecl mistakeningly using Name instead of SearchName

Summary:
https://reviews.llvm.org/D51633 added error handling to the ASTNodeImporter::VisitEnumD...

a214a7f7b276ea66fea7d427868b6b4a9b13ac53 authored almost 6 years ago
Clean up ObjCPropertyDecl printing

Summary:
- `@property(attr, attr2)` instead of `@property ( attr,attr2 )`.
- Change priority of ...

22b5c6ce26a273d2d0d25357e39eb3d60b976ef6 authored almost 6 years ago
[OPENMP] Sync __kmpc_alloc/_kmpc_free function with the runtime.

Functions __kmpc_alloc/__kmpc_free are updated with the new interfaces.
Patch synchronizes the c...

b0743db40c9e2f1087f7013373ae4d00cea1a65b authored almost 6 years ago
[MS] Add metadata for __declspec(allocator)

Summary:
Emit !heapallocsite in the metadata for calls to functions marked with
__declspec(alloc...

c17b8a6284bb42672f4f80ee0f212ab27bd2e57b authored almost 6 years ago
[X86] Add some fp to integer conversion intrinsics to Sema::CheckX86BuiltinRoundingOrSAE so their rounding controls will be checked.

If we don't check this in the frontend we'll get an isel error in the backend later. This is far...

55d1f8923684079bd32ca90eeb8876f2934b7e1a authored almost 6 years ago
[OPENMP][NVPTX]Fixed processing of memory management directives.

Added special processing of the memory management directives/clauses for
NVPTX target. For priva...

0024213e0906181eea275e5db24801ed684c1747 authored almost 6 years ago
Remove a bogus sed option in test.

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

878aad592a104f4be73fc9e0bd9817bca4eb1984 authored almost 6 years ago
Remove a useless assertion in clang-check.

Re-commit r357915 with a fix for windows.

The assertion prevents it from applying fixes when us...

f72b0580ed0438c6a898b6fd93a63fe3982a9375 authored almost 6 years ago
Revert rL357915 from cfe/trunk: Remove a useless assertion in clang-check.

The assertion prevents it from applying fixes when used along with compilation
databases with re...

14e3e53a2560bd140b4c74b7f383d6849b8a1f1c authored almost 6 years ago
[python, tests] Disable Clang Python tests on SPARC

Running `make check-all` fails on Solaris 11/SPARC since the clang python
tests FAIL:

..........

10a4d1b69c142bce10d914d0a886a5d6cc94921a authored almost 6 years ago
Remove a useless assertion in clang-check.

The assertion prevents it from applying fixes when used along with compilation
databases with re...

18ac76ca13eda3ff25f309f2463e07fe05993d44 authored almost 6 years ago
Changed every use of ASTImporter::Import to Import_New

Reviewers: a.sidorin, shafik, martong, a_sidorin

Reviewed By: a_sidorin

Subscribers: rnkovacs,...

36e125b91f9f7164da78ff053dff229558699a35 authored almost 6 years ago
[clang-format] Optionally insert a space after unary ! operator

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

9a63380260860b657b72f07c4f0e61e382ab934a authored almost 6 years ago
IAS is now enabled for all OS on MIPS64

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

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

4c45da3cb9bd6aabfd5950ed6eb86cb3580a2997 authored almost 6 years ago
Enable IAS for FreeBSD SPARC64.

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

5395f73052bead37beee8d3bf72d97d16b08b1c3 authored almost 6 years ago
[clang-format] Fix bug https://bugs.llvm.org/show_bug.cgi?id=41413

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

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

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

5deff212e08dd698d5ad900a8506c0fcf2ffdbe1 authored almost 6 years ago
[clang-format] Fix Bug 41407

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

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

359a05461d132b1e2d74655cad1a01ace6f654e5 authored almost 6 years ago
[clang-format] BreakAfterReturnType ignored on functions with numeric template parameters

Summary:
Addresses PR40696 - https://bugs.llvm.org/show_bug.cgi?id=40696

The BreakAfterReturnTy...

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

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

49dacb73a6055b7864567fc08bd0d293e6c1a044 authored almost 6 years ago
Merge pull request #292 from slavapestov/fix-compile-error-upstream-with-swift

Fix compile error in llvm::FunctionCallee getLoadClassrefFn()

2d22945013151118e58fe99d9234b82c02d1b197 authored almost 6 years ago
Fix compile error in llvm::FunctionCallee getLoadClassrefFn()

The API here diverged between swift-5.1-branch and upstream-with-swift.

fe297b2db47fd650a48f3ac70cd9507a0c5abce4 authored almost 6 years ago
[analyzer] NoStoreFuncVisitor: Suppress reports with no-store in system headers.

The idea behind this heuristic is that normally the visitor is there to
inform the user that a c...

9ba136919a17ac56faea123d5011982332efd1e1 authored almost 6 years ago
Revert "[Lexer] NFC: Fix an off-by-one bug in getAsCharRange()."

This reverts commit r357823.

Was breaking clang-tidy!

Differential Revision: https://reviews.l...

1374cdc16054f52055eb408fabc9cec425db60a7 authored almost 6 years ago
[Lexer] NFC: Fix an off-by-one bug in getAsCharRange().

As the unit test demonstrates, subtracting 1 from the offset was unnecessary.

The only user of ...

4c9a6a16bb14b5d8a5e89234c3199f771b9350d4 authored almost 6 years ago
[analyzer] NoStoreFuncVisitor: Suppress reports with no-store in system headers.

The idea behind this heuristic is that normally the visitor is there to
inform the user that a c...

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

4a68ea010f00dc424057736d742fe027d25814fd authored almost 6 years ago
[clang-fuzzer] Include ExternalProject before using it.

Some versions of CMake require ExternalProject to be included before we
can use ExternalProject_...

2b45eeb7510336cc323eacb6375bc94d39b8e2e5 authored almost 6 years ago
Fix error in NamedDeclPrinterTest

Caused by D56924, shouldn't use raw string literals in macros.

Differential Revision: https://r...

9af7b0f8c2c4f2b44d6ad44f94264e5f7860c453 authored almost 6 years ago
[docs] Fix rst title in clang langext docs. NFCI

Fix an odd line in LanguageExtensions.rst which
rendered incorrectly due to an underscore being
...

a763130e80e70b5a79e4ce4c1865d771714290f6 authored almost 6 years ago
[AMDGPU] rename vi-insts into gfx8-insts

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

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

bdc6d20030cc35ff8cbfd0f789fb81c5da48893a authored almost 6 years ago
[CUDA][Windows] Last fix for the clang Bug 38811 "Clang fails to compile with CUDA-9.x on Windows" (https://bugs.llvm.org/show_bug.cgi?id=38811).

[IMPORTANT]
With that last fix, CUDA has just started being compiling by clang on Windows after ...

1c39268d3892d42dbf6e46f57f4eaad7c8ae6531 authored almost 6 years ago
[Tooling] add a Heuristic field indicating that a CompileCommand was guessed.

Summary:
Use cases:
- a tool that dumps the heuristic used for each header in a project can
...

151df10ca73b93b5baca28c9457b33047960b3f6 authored almost 6 years ago
[LibTooling] Add Transformer, a library for source-to-source transformations.

Summary: Adds a basic version of Transformer, a library supporting the concise specification of ...

5d7419d71c87143af9b4a24e40820c6d94956783 authored almost 6 years ago
[LibTooling] Add "SourceCode" library for functions relating to source-code manipulation.

Summary:
Introduces a utility library in Refactoring/ to collect routines related to
source-code...

a50eeb5fd909ddd67d37785b624fc3e14ed4c9c2 authored almost 6 years ago