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

Propagating prior merge from 'llvm.org/master'.

fe2afb3296ba2a62ad32644040cffb8dce301d3e authored almost 6 years ago
[test] Specify an explicit darwin version in a triple in

`test/Driver/debug-options.c` to ensure that the driver
selects the DWARF 2 version as intended b...

85d44b105711ac3d0f818829262dced59b5b2d2d authored almost 6 years ago
[IR] Refactor attribute methods in Function class (NFC)

Rename the functions that query the optimization kind attributes.

Differential revision: https:...

0c37c825f4a1323251aa3fca0755d7da2ac54b9f authored almost 6 years ago
Make SourceManager::createFileID(UnownedTag, ...) take a const llvm::MemoryBuffer*

Requires making the llvm::MemoryBuffer* stored by SourceManager const,
which in turn requires ma...

51ca2d3ac1081b943629550a829f6b4f13467a6b authored almost 6 years ago
Special case ObjCPropertyDecl for printing

ObjCPropertyDecl should use the category interface as a context similar to what is done for meth...

fac080d750560c3997969b05a2b25be940754723 authored almost 6 years ago
[OPENMP]Add codegen for task reduction vars with allocate clause, NFC.

Added test for the task reduction variables with the allocate clause.

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

840592268a881da59e838ec97cfe04b5dfb59dbc authored almost 6 years ago
Verify that Android targets generate DWARF 4 by default.

Summary:
In the future, Android releases will support DWARF 5, but we need to
ensure that older ...

94b5a201392ef5a047aa5965b4048d6e117be22d authored almost 6 years ago
[OPENMP]Add codegen for linear vars with allocate clause, NFC.

Added test for the linear variables with the allocate clause.

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

5f4fe1b0183cbf31e8abb7de29da30a9f16e793d authored almost 6 years ago
[OPENMP]Fix lookup of the user-defined reductions in C.

Fixed the regression of the lookup of user-defined reductions for C.

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

73af6b66399c0350b4897ed47421409532973aac authored almost 6 years ago
[RISCV] Fix rL357699 by adding missing zero-length files

svn add doesn't play very nicely here...

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

3917eb95a0220baea351f7454e0110caa347bc63 authored almost 6 years ago
Updating Chromium's Java import order

Adding in androidx as another import group.

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

070a4ca7a3a984e8254934d2d3d921c298dffb27 authored almost 6 years ago
[RISCV] Collect library directories and triples for riscv64 triple too

When setting up library and tools paths when detecting an accompanying GCC
installation only ris...

35026dff4f76858540c9b5e2441a8aa290ecba1c authored almost 6 years ago
[clang-format] Preserve include blocks in ObjC Google style

Summary:
r357567 started to regroup include block for Google style; it was meant to apply
only f...

ef11818ff8f16fc964f48e10e21189d35ae51df0 authored almost 6 years ago
[RISCV][NFC] s/riscv32-linux-unknown-elf/riscv32-unknown-linux-gnu in test/Driver/riscv32-toolchain.c

riscv32-linux-unknown-elf was a weird thing to test for as it doesn't match
the triple used in a...

b3c295e56ab657880eadc8fb62d5d44da98b326c authored almost 6 years ago
[CodeComplete] Fix crash when completing ObjC block parameter with a broken type

Summary:
The fix isn't great, but it's hard to fix properly because the completion
code sensibly...

74cc5ad2f8c2a78a5fea4b56e872f6c1cb70b67f authored almost 6 years ago
[PR41157][OpenCL] Prevent implicit init of local addr space var in C++ mode.

Prevent adding initializers implicitly to variables declared in
local address space. This happen...

a009ce58cfce26d389ff3ac49228a921950ced27 authored almost 6 years ago
[PR41276] Fixed incorrect generation of addr space cast for 'this' in C++.


Improved classification of address space cast when qualification
conversion is performed - prev...

5e1826201aa4e8e5d60c3f6b8c476dfa130b2022 authored almost 6 years ago
Revert r357452 - 'SimplifyCFG SinkCommonCodeFromPredecessors: Also sink function calls without used results (PR41259)'

This revision causes tests to fail under ASAN. Since the cause of the failures
is not clear (cou...

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

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

078517eab71c45f8a3fc066c02b642bda9c87422 authored almost 6 years ago
add periods

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

536bce85423d025a135ff27102ab139d44033dd0 authored almost 6 years ago
[IR] Create new method in `Function` class (NFC)

Create method `optForNone()` testing for the function level equivalent of
`-O0` and refactor app...

bf65ddbee7d9e7cf185646cc930b2be89479a546 authored almost 6 years ago
Revert "[analyzer] Toning down invalidation a bit".

This reverts commit r352473.

The overall idea is great, but it seems to cause unintented conseq...

10d188ed27e9e9b0635180fbb9e2216c6527188e authored almost 6 years ago
[analyzer] When failing to evaluate a __builtin_constant_p, presume it's false.

__builtin_constant_p(x) is a compiler builtin that evaluates to 1 when
its argument x is a compi...

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

c956ebce46df683c5f1235b7313d9441a88feb5f authored almost 6 years ago
[OPENMP]Add codegen for reduction vars with allocate clause, NFC.

Added test for the reduction variables with the allocate clause.

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

1ca36348d2a41d4e273f4fd3d7471bdb146bd643 authored almost 6 years ago
[OPENMP]Add codegen for lastprivate vars with allocate clause, NFC.

Added test for the lastprivatized variables with the allocate clause.

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

17562937ebaa3a5d5b7329f19bd991889455d89d authored almost 6 years ago
Revert "[analyzer] Toning down invalidation a bit".

This reverts commit r352473.

The overall idea is great, but it seems to cause unintented conseq...

132cebd5567b9fe9544e12e1592dde70177b2bec authored almost 6 years ago
[OPENMP]Add codegen for firstprivate vars with allocate clause.

Added codegen/test for the firstprivatized variables with the allocate
clause.

git-svn-id: http...

456575d0e83a9cbf7e35e844a431a0f3ec58c582 authored almost 6 years ago
Revert "[LibTooling] Add Transformer, a library for source-to-source transformations."

This reverts commit r357576 to fix the problem with the cyclic
dependencies between libTooling a...

d9a2f127a8277690a5653aade1077039c77be716 authored almost 6 years ago
Bug-40323: MS ABI adding template static member in the linker directive section to make sure init function can be called before main.

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

86ef09fc94489c51bb60a8f125b5219df3748d66 authored almost 6 years ago
[clang-format] Do not emit replacements while regrouping if Cpp includes are OK

Summary:
Currently clang-format would always emit a replacement for multi-block #include
section...

d1957e232eb31ddf9a34a8a4378e07f916092cd6 authored almost 6 years ago
Whitespace and formatting changes; NFC.

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

2c479c0d343807003744ceb720a6e589bdd4c8a4 authored almost 6 years ago
Add a new attribute documentation category for declarations.

This moves documentation for some attributes into new categories that are hopefully a bit more c...

8a6f98bed796e74af177f983d6d58c234c91782b authored almost 6 years ago
Fixing a typo; NFC.

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

8693138716e2211a3ce8c5e6be4f85bf7eed95f6 authored almost 6 years ago
Fix typos in tests. NFC.

Reviewers: Higuoxing

Reviewed By: Higuoxing

Subscribers: kubamracek, cfe-commits, #sanitizers,...

802052c5da46a5643adecf280af687a54a7f1087 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 ...

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

4bced67652aeb1d0a2476ede316e157e41cd64d8 authored almost 6 years ago
[clang-format] Regroup #includes into blocks for Google style

Summary:
Regrouping #includes in blocks separated by blank lines when sorting C++ #include
heade...

62e3198c4f5490a1c60ba51d81fe2e1f0dc99135 authored almost 6 years ago
Adding 'CLion integration' to clang-format doc

Summary:
This commit adds a chapter 'CLion integration' to ClangFormat.rst.
The official announ...

016ad92bb982b8f631f0fdd3b02c75f04b8ddf39 authored almost 6 years ago
[libclang][test] Suppress annoying 'LIBCLANG TOOLING ERROR' output

check-all invokes check-clang-python which prints the annoying message:

LIBCLANG TOOLING ERROR:...

f4e17e7ac92014f424b83a9a7f62ca17b3fe69c3 authored almost 6 years ago
[analyzer] When failing to evaluate a __builtin_constant_p, presume it's false.

__builtin_constant_p(x) is a compiler builtin that evaluates to 1 when
its argument x is a compi...

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

c8381b6170b77b4926311a97dafe30506217586d authored almost 6 years ago
[WebAssembly] Add Emscripten OS definition + small_printf

The Emscripten OS provides a definition of __EMSCRIPTEN__, and also that it
supports iprintf opt...

b44ac4f7138c597bfc0f8d54a53c56658e62500d authored almost 6 years ago
Merge pull request #289 from slavapestov/objc-resilient-class-stubs-upstream-with-swift

Non-fragile ObjC ABI: Add support for __attribute__((objc_class_stub))

54682d2cae07b39093cdc98c3e28cfc76921aafc authored almost 6 years ago
Non-fragile ObjC ABI: Add support for __attribute__((objc_class_stub))

This attribute denotes a class with resiliently-sized metadata, which
is initialized at runtime....

b4bcae3ea58d0c5572f612c1eda469e6f958e1c7 authored almost 6 years ago
[HIP-Clang] Fat binary should not be produced for non GPU code

clang-format the changes to CUDA and HIP fat binary.

Reviewers: yaxunl, tra

Differential Revis...

cbf711538388149330cdce4e380ead95686072f0 authored almost 6 years ago
Merge pull request #278 from slavapestov/objc-class-stub-attr

[Swift] Add support for __attribute__((objc_class_stub))

a1727eabafc52abd90e5ca203e61b1e52e3e0f37 authored almost 6 years ago
Non-fragile ObjC ABI: Add support for __attribute__((objc_class_stub))

This attribute denotes a class with resiliently-sized metadata, which
is initialized at runtime....

854d489888ae77cff41063953cff69daa082124f authored almost 6 years ago
[HIP-Clang] Fat binary should not be produced for non GPU code 2

Also for CUDA, we need to disable producing these fat binary functions when there is no GPU code...

b984bff221a071ab6390b9acf95b2d2d1c4df9a5 authored almost 6 years ago
[HIP-Clang] Fat binary should not be produced for non GPU code

Skip producing the fat binary functions for HIP when no device code is present.

Reviewers: yaxu...

85d2220c2a3cee8915baf46b83f88de2193b7d9a authored almost 6 years ago
[Sema] Fix a use-after-deallocate of a ParsedAttr

moveAttrFromListToList only makes sense when moving an attribute to a list with
a pool that's ei...

26157a1523af54172d0e612fc76f74d778d9e9ef authored almost 6 years ago
[CodeGen] Fix a regression by emitting lambda expressions in EmitLValue

This ability was removed in r351487, but it's needed when a lambda appears as an
OpaqueValueExpr...

6fa4144295ae492d0757f454c001376c0b6d4613 authored almost 6 years ago
[Sema] Fix a use-after-deallocate of a ParsedAttr

moveAttrFromListToList only makes sense when moving an attribute to a list with
a pool that's ei...

eba82fe884767c65d881c0f636fd0ecebfd64ca8 authored almost 6 years ago
[CodeGen] Fix a regression by emitting lambda expressions in EmitLValue

This ability was removed in r351487, but it's needed when a lambda appears as an
OpaqueValueExpr...

115a5521a197ac5f71719d573cd81a235a30fcf7 authored almost 6 years ago
[OPENMP]Add codegen for private vars with allocate clause.

Added codegen/test for the privatized variables with the allocate
clause.

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

bc0fd569105bad7efd7f25b0947cc6e457107c81 authored almost 6 years ago
[driver][mips] Check both `gnuabi64` and `gnu` suffixes in `getMultiarchTriple`

In case of N64 ABI toolchain paths migth have `mips-linux-gnuabi64`
or `mips-linux-gnu` director...

28d3364fc2f8392c17863e9537f0e441000951d3 authored almost 6 years ago
[driver] clang-format. Fix indentation, split long lines. NFC

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

6db2abd133f1a3451899c009ce459532dae33c16 authored almost 6 years ago
[os_log] Mark os_log_helper `nounwind`

Allow the optimizer to remove unnecessary EH cleanups surrounding calls
to os_log_helper, to sav...

3fe5a4b610b39fb305348cfd3323df69d807b18a authored almost 6 years ago
[os_log] Mark os_log_helper `nounwind`

Allow the optimizer to remove unnecessary EH cleanups surrounding calls
to os_log_helper, to sav...

5e8df5da17d424a3841722a9a7f6c3c4ab4b347c authored almost 6 years ago
[OPENMP]Fix mapping of the pointers captured by reference.

If the pointer is captured by reference, it must be mapped as
_PTR_AND_OBJ kind of mapping to co...

bb0e97888cc58a6786b3e59f4d00875503ee4fc4 authored almost 6 years ago
[Driver] Enable -fsanitize-address-globals-dead-stripping by default on PS4.

Can be safely enabled on PS4.

Reviewed By: probinson

Differential Revision: https://reviews.ll...

76d3f418d1a57e432cd36034d9378f87d4caa274 authored almost 6 years ago
Fix Wimplicit-fallthrough warning introduced in rL357466. NFCI.

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

46629456c01c29dcddd1cebfa578277bd2c3bd44 authored almost 6 years ago
[PowerPC] Fix issue with inline asm - soft float mode

This patch prevents floating point register
constraints in soft float mode.

Differential Revisi...

fb2e2123dfd40e645feeb1d7ddd07ef554bca90a authored almost 6 years ago
Fix compiler warning, remove extra ";" [NFC]

At least gcc 7.4 complained with
../tools/clang/lib/StaticAnalyzer/Checkers/Taint.cpp:26:53: war...

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

d1f6d7643f66ca8a279bfcb9bd8a450bcc908502 authored almost 6 years ago
SimplifyCFG SinkCommonCodeFromPredecessors: Also sink function calls without used results (PR41259)

The code was previously checking that candidates for sinking had exactly
one use or were a store...

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

2127ff9ead9aaa8b82a642563be7570ea02550d3 authored almost 6 years ago
[Sema] Fix assertion when `auto` parameter in lambda has an attribute.

Fixes the assertion
> no Attr* for AttributedType*
> UNREACHABLE executed at llvm-project/clang/...

75da1809b565088577bbffe3cf6195c528099a45 authored almost 6 years ago
Merge pull request #281 from kastiglione/indexstore-noescape

Mark indexstore callbacks with noescape attribute

6e8580633dcbb476a18e71d72685c0f3c4fee8f7 authored almost 6 years ago
Merge pull request #256 from kastiglione/dl/mark-indexstore-callbacks-with-noescape-attribute

Mark indexstore callbacks with noescape attribute

4bea832089f767e6ea74616b40632d2e9105cd2c authored almost 6 years ago
[CodeGen] Generate follow-up metadata for loops with more than one transformation.

Before this patch, CGLoop would dump all transformations for a loop into
a single LoopID without...

2f03b60f2c0f44524f2822a0a254627814e331e9 authored almost 6 years ago
[OPENMP]Allocate clause allocator in target region.

According to OpenMP 5.0, 2.11.4 allocate Clause, Restrictions, allocate
clauses that appear on a...

8aead58dfcd599634ffb831526046923018d0cd1 authored almost 6 years ago
Attempt to fix failing buildbot (ppc64le)

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

21c0f50339b846a500514846433c0c71cf38e104 authored almost 6 years ago
[ASTImporter] Convert ODR diagnostics inside ASTImporter implementation

Summary:
ASTStructuralEquivalence uses a flag to indicate whether ODR diagnostics
should be cons...

f584ff0725677cfe6e12a6bce31484c7d4234a44 authored almost 6 years ago
[ASTImporter] Make ODR error handling configurable

Summary:
ODR errors are not necessarily true errors during the import of ASTs.
ASTMerge and Cros...

20e5220f748b7df5df639d53eb5934165c544b2c authored almost 6 years ago
[OPENMP] Check that allocated variables are used in private clauses.

According to OpenMP 5.0 standard, 2.11.4 allocate Clause, Restrictions,
For any list item that i...

c0876c1cbb17e5ecfffa8cc74e2f80fc47a94185 authored almost 6 years ago
Merge remote-tracking branch 'llvm.org/master' into upstream-with-swift

Conflicts:
include/clang/Frontend/FrontendOptions.h

64356eaaf9cf409912978f8f44984c287149f62e authored almost 6 years ago
[InstCombine] canonicalize select shuffles by commuting

In PR41304:
https://bugs.llvm.org/show_bug.cgi?id=41304
...we have a case where we want to fold ...

dbc3b913b6334f75bcd8dd6331aaef0770334228 authored almost 6 years ago
[gnustep-objc] Make the GNUstep v2 ABI work for Windows DLLs.

Summary:
Based on a patch by Dustin Howett, modified to not change the ABI for
ELF platforms.

U...

aab18df3ee163dfd636dadc94d467be5d5af078d authored almost 6 years ago
COMDAT-fold block descriptors.

Without this change, linking multiple objects containing block
descriptors together on Windows w...

94c9e98ba7184779aba9b994724be2a7b7335909 authored almost 6 years ago
[objc-gnustep] Use .init_array not .ctors when requested.

This doesn't make a difference most of the time but FreeBSD/ARM doesn't
run anything in the .cto...

3181e8ef22a8ace464f299b7a565b4e13351f8de authored almost 6 years ago
Range-style std::find{,_if} -> llvm::find{,_if}. NFC

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

ce76f242a3a88b0a44c9567eff34aea2441dad56 authored almost 6 years ago
[cmake] Change deprecated $<CONFIG> to $<CONFIGURATION>. NFC

See rL357338 for a similar change. The informational expression
$<CONFIGURATION> has been deprec...

3d1e9bf72f37efa62ae9a036d596f496137663b2 authored almost 6 years ago
[clang-format] [PR41187] moves Java import statements to the wrong location if code contains statements that start with the word import

Summary:
Import sorting of java file, incorrectly move import statement to after a function begi...

3801733470ece4d51745086859e466f3375ac855 authored almost 6 years ago
[clang-format]: Add NonEmptyParentheses spacing option

This patch aims to add support for the following rules from the JUCE coding standards:

- Always...

5ae8ac7bf165af4ea7d254c2adc4bbc8a7c7b154 authored almost 6 years ago
Adds `-ftime-trace` option to clang that produces Chrome `chrome://tracing` compatible JSON profiling output dumps.

This change adds hierarchical "time trace" profiling blocks that can be visualized in Chrome, in...

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

f9c1074e13aab7a469f3e1379b00b86619d8f520 authored almost 6 years ago
[analyzer] MIGChecker: Add support for more deallocator APIs.

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

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

527eb6db29ea45376a260fee126ba72158f98177 authored almost 6 years ago
[analyzer] PR41239: Fix a crash on invalid source location in NoStoreFuncVisitor.

It turns out that SourceManager::isInSystemHeader() crashes when an invalid
source location is p...

7c75d78818ca15f93bf58ed19ab27758d6ef97e6 authored almost 6 years ago
[analyzer] PR37501: Disable assertion for logical op short circuit evaluation.

The transfer function for the CFG element that represents a logical operation
computes the value...

e460aa08de712ca428e2a697ef3a1df25fb5b713 authored almost 6 years ago
[Analyzer] Constraint Manager - Calculate Effective Range for Differences

Since rL335814, if the constraint manager cannot find a range set for `A - B`
(where `A` and `B`...

7b3c475b25f6c6d80194fcea1194cf0f9390713e authored almost 6 years ago
[CFG] [analyzer] pr41142: C++17: Skip transparent InitListExprs in ExprEngine.

r356634 didn't fix all the problems caused by r356222 - even though simple
constructors involvin...

3ed779b9580991cc32391e87b389dea5f570bb3b authored almost 6 years ago
[analyzer] MIGChecker: Add support for more deallocator APIs.

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

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

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

e8c13ef211e48fe2d1837cfda05ed8ebece71717 authored almost 6 years ago
[lit] Set shlibpath_var on AIX

Summary:
When building the `check-all` target on AIX, lit produces
```
warning: unable to inject...

19f70eecb71fe3a28b26c115c4e3a45ad1d591dd authored almost 6 years ago
Merge pull request #287 from dcci/unbreaklldb

[CodeGenObjC] Fix a nullptr dyn_cast

9d8e8dbd33c0467c30d525b407cf62e3b973b135 authored almost 6 years ago
Revert "[analyzer] Introduce a simplified API for adding custom path notes."

This reverts commit r357323.

ASan leaks found by a buildbot :)

Differential Revision: https://...

6e6d6a6eb6f4414d45235dadac93089b07f0f5c2 authored almost 6 years ago
[analyzer] PR41239: Fix a crash on invalid source location in NoStoreFuncVisitor.

It turns out that SourceManager::isInSystemHeader() crashes when an invalid
source location is p...

a1923b264588a391a9b5b66669f502c515eec81f authored almost 6 years ago
[analyzer] Move taint API from ProgramState to a separate header. NFC.

It is now an inter-checker communication API, similar to the one that
connects MallocChecker/CSt...

8ac513b1f101fa3b1332036b4c9131dc3b88c49a authored almost 6 years ago