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

Modules: Add LangOptions::CacheGeneratedPCH

Add an option to cache the generated PCH in the ModuleCache when
emitting it. This protects cli...

2d59837707f71a996e38d3e1a2b0c178f9965f7e authored almost 6 years ago
Add a creduce script for clang crashes

This CL adds a script that calls C-Reduce on an input file and given the
clang crash script, whi...

e77c4ca4a3d47530ca65446400002fe525f6fbe5 authored almost 6 years ago
[CMake] Tell libc++ that we're using compiler-rt on Apple platforms

Reviewers: beanz, arphaman, EricWF

Subscribers: dberris, mgorny, jkorous, dexonsmith, jdoerfert...

af2aeae15746c39ffdd0dbaa9cce8d6c05e6b888 authored almost 6 years ago
[PR41007][OpenCL] Allow printf in C++ mode.

As for OpenCL C, we need to allow using printf and toolchain variadic
functions (prefixed by "__...

de668a55adaa1394e0aa9480617e452b30eeaaf6 authored almost 6 years ago
Revert "[analyzer] Fix function macro crash"

Buildbot breaks when LLVm is compiled with memory sanitizer.

WARNING: MemorySanitizer: use-of-u...

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

When there is a functor-like macro which is passed as parameter to another
"function" macro then...

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

449c5a053270fc8377da1e18827648584bb0e7a5 authored almost 6 years ago
[Driver] Support object files in addition to static and shared libraries in compiler-rt

This change introduces support for object files in addition to static
and shared libraries which...

3b51fa8ce9293a268c824bc9003c3da5fc627811 authored almost 6 years ago
[DebugInfo] Add test cases for FlagNonTrivial

Summary:
This is a test case to go with D44406 which added FlagNonTrivial to mark that a C++ rec...

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

cd0368b3cffa9e254a73a0b30402ec782cb4f1e8 authored almost 6 years ago
Use {{.*}} in test case to match the type of wide string literals.

The type of wide string literals varies depending on the target.

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

d527b9e066e12e1270ba026c0cbc958e69ea5c54 authored almost 6 years ago
Fix test case committed in r355662.

Build bots were failing because wide string literals don't have type
'int *' on some targets.

g...

e22e2193ed81806ec0f0845ee794e869df230bce authored almost 6 years ago
[ObjC] Emit a boxed expression as a compile-time constant if the

expression inside the parentheses is a valid UTF-8 string literal.

Previously clang emitted an e...

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

04fb347bb094cb21639947c7c0d9f591b5046ea4 authored almost 6 years ago
Remove esan.

It hasn't seen active development in years, and it hasn't reached a
state where it was useful.

...

b14ae1ec4afb53b94937d4cc0109ef01ea73ea44 authored almost 6 years ago
[OPENMP]Fix codegen for declare target link in target regions.

If the declare target link global is used in the target region
indirectly (used in the inner par...

a695513ed785db7b96306d5979b3eb7bdd385998 authored almost 6 years ago
[clang] Add install targets for API headers

Add an install target for clang's API headers, which allows them to be
included in distributions...

370e7be0099c9bf8d101edaa7736bff7a0593e95 authored almost 6 years ago
clang-format: distinguish ObjC call subexpressions after r355434

Summary:
The revision r355434 had the unfortunate side-effect that it started to
recognize certa...

cf1bcf5fdc1669bc01f35dba7fe793c6bb60588b authored almost 6 years ago
Remove an unnecessary -f when cp'ing to a file that was just deleted. NFC.

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

384f4d7cb5aec88bee11011400754f7cea334819 authored almost 6 years ago
[Serialization] Add missing include

forward decl is not sufficient for destroying a unique_ptr<MemoryBuffer>.

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

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

e712d057568ed10d0d9d85fb236cfb1daaef700e authored almost 6 years ago
Stop relying on allocator behaviour in modules unit test

Another fixup for r355778 for Windows bots, this time to stop
accidentally relying on allocator ...

59f2009cd157fc96a0d558125405b98586cd83d2 authored almost 6 years ago
Fix slashes in path references in -Rmodule-import test from r355778

Fixup for r355778 to fix all the Windows bots. Apparently I already
forgot the lesson from r355...

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

3f9aad7f96fe9f58f7e752d8e8563b1f69c85301 authored almost 6 years ago
Modules: Invalidate out-of-date PCMs as they're discovered

Leverage the InMemoryModuleCache to invalidate a module the first time
it fails to import (and t...

c977c99e5c50af2baad41e98e5369ffb7d7685c9 authored almost 6 years ago
Modules: Rename MemoryBufferCache to InMemoryModuleCache

Change MemoryBufferCache to InMemoryModuleCache, moving it from Basic to
Serialization. Another...

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

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

cd6e7b13fd5638053f6875e9b17ab211a4ad7ea4 authored almost 6 years ago
[CMake] Support stripping and linking output to .build-id directory

When installing runtimes with install-runtimes-stripped, we don't want
to just strip them, we al...

3a47836eebc2c0f1c5b69d5c9e189244cb9283ae authored almost 6 years ago
[8.0 Regression] Fix handling of `__builtin_constant_p` inside template arguments, enumerators, case statements, and the enable_if attribute.

Summary:
The following code is accepted by Clang 7 and prior but rejected by the upcoming 8 rele...

06ce34ef97311cddc2f69b6514bc9d4b5cf8c43e authored almost 6 years ago
[OPENMP]Remove debug service variable.

Removed not required service variable for the debug info.

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

6fed035e2464957903d3656ce105fa906fb2a2ac authored almost 6 years ago
[docs] Fix checkers.rst doc for PointerSorting checker

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

39e921f3d8272ebf07bbb8f386d0772cf49a5621 authored almost 6 years ago
Revert "[runtimes] Move libunwind, libc++abi and libc++ to lib/ and include/"

This broke the windows bots.

This reverts commit 28302c66d2586074f77497d5dc4eac7182b679e0.

git...

7d1f6f41650d77263787c9a5bfdea3c419219b15 authored almost 6 years ago
Revert "Recommit "Support attribute used in member funcs of class templates""

There is nontrivial bug caused in lld that I need to further
investigate. Meanwhile, I'll revert...

176c1186cd8ed4d2893c07c97a9f57560ce45019 authored almost 6 years ago
[Analyzer] Checker for non-determinism caused by sorting of pointer-like elements

Summary:
Added a new category of checkers for non-determinism. Added a checker for non-determini...

546e584dc21694740110939980ad7fcef7cef13b authored almost 6 years ago
Revert "Variable auto-init: split out small arrays"

This reverts commit 483423598ecdf9d3a10ac1211f573e99c8583fdb.

Broke build, needs the same fix I...

6a59ee3c1d1384a84af582f4def0240431bdd5b1 authored almost 6 years ago
Variable auto-init: split out small arrays

Summary: Following up with r355181, initialize small arrays as well.

LLVM stage2 shows a tiny s...

483423598ecdf9d3a10ac1211f573e99c8583fdb authored almost 6 years ago
[analyzer] Fix infinite recursion in printing macros

In the commited testfile, macro expansion (the one implemented for the plist
output) runs into a...

d036e64e31db06c27dc2e0ecb3e5d43ee5b97f88 authored almost 6 years ago
[analyzer] Emit an error rather than assert on invalid checker option input

Asserting on invalid input isn't very nice, hence the patch to emit an error
instead.

This is t...

2dc981e77f2a9d8b445544f4f9128dd7fdfea382 authored almost 6 years ago
[analyzer] Use the new infrastructure of expressing taint propagation, NFC

In D55734, we implemented a far more general way of describing taint propagation
rules for funct...

d05164d447bcfd193eb389ec87723df0e82d070c authored almost 6 years ago
Use {{.*}} in test case to match the type of wide string literals.

The type of wide string literals varies depending on the target.

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

a39447f2241993ea12db8b1efc2484f731c15ba5 authored almost 6 years ago
Re-fix _lrotl/_lrotr to always take Long, no matter the platform.

r355322 fixed this, however is being reverted due to concerns with
enabling it in other modes.

...

39e73445a9dc028ce340ce0d13e58f32bab40113 authored almost 6 years ago
Revert "Enable _rotl, _lrotl, _rotr, _lrotr on all platforms."

This reverts commit 24400dafe16716f28cd0e7e5fa6e004c0e50686a.

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

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

69c5c5c49cf35fa068ac5479bfb70b0916f576c6 authored almost 6 years ago
[IR][ARM] Add function pointer alignment to datalayout

Use this feature to fix a bug on ARM where 4 byte alignment is
incorrectly assumed.

Differentia...

8643b2ac988ff2dabb716d370e03b97264786580 authored almost 6 years ago
[clang][Index] Fix msan failure

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

54eb3e604fc4e6835c9014d05c5eabf2dc5fbaa6 authored almost 6 years ago
clang-cl : Parse all /d2 options

We will now warn about such options being unused,
which is better than the current
"no such file...

b44a5edecf19653a9fe2467ec719746b63ff9d05 authored almost 6 years ago
[clang][Tooling] Delete dots and dotdots when generating absolute paths

Summary:
GetAllFiles interface returns absolute paths, but keeps dots and dot
dots. This patch m...

2df582cdb843b237cf5085730e85c5f5338d0c9d authored almost 6 years ago
Add another test for r354937 that came up in PR40890

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

8352604262c26081960a1ed157aeb6cfeabdf5e9 authored almost 6 years ago
[clang][Index] Mark references from Constructors and Destructors to class as NameReference

Summary:
In current indexing logic we get references to class itself when we see
a constructor/d...

87becae02c7bcddcc684aa2f1d4191cdfee78c8e authored almost 6 years ago
[Clang] Include the test directory ommited in r355665

This was omitted in r355655 causing the test to fail.

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

bb4e581872047f891a408e293f1a4cb9b931154c authored almost 6 years ago
[runtimes] Move libunwind, libc++abi and libc++ to lib/ and include/

This change is a consequence of the discussion in "RFC: Place libs in
Clang-dedicated directorie...

60510251f0c7e121e59a5477103c53e69833ca56 authored almost 6 years ago
Fix test case committed in r355662.

Build bots were failing because wide string literals don't have type
'int *' on some targets.

g...

ae78f33054b081980625557c31599d3548954461 authored almost 6 years ago
[ObjC] Emit a boxed expression as a compile-time constant if the

expression inside the parentheses is a valid UTF-8 string literal.

Previously clang emitted an e...

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

fc09ce87ff8216b6d56a8656bffc69f1898a86fe authored almost 6 years ago
Variable auto-init: split out small arrays

Summary: Following up with r355181, initialize small arrays as well.

LLVM stage2 shows a tiny s...

53b90c6143ce37544aa76a140b07defb21166f65 authored almost 6 years ago
[X86] Make x86-intrinsics-headers-clean.cpp stricter.

Remove the -Wno-ignored-attributes.

Add -fno-lax-vector-conversions

Also use -ffreestanding in...

9c0926d77098eef405b6c7b50cb77c54c4e9d4fc authored almost 6 years ago
Recommit "Support attribute used in member funcs of class templates"

The patch originally broke code that was incompatible with GCC, but
we want to follow GCC behavi...

8297e93480c636dc90fd14653c5a66406193363f authored almost 6 years ago
Fix some clang analysis tests passing arguments incorrectly

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

e474bbff32cb50840e2fea9fa4bb0b4ad7797ec5 authored almost 6 years ago
Delete x86_64 ShadowCallStack support

Summary:
ShadowCallStack on x86_64 suffered from the same racy security issues as
Return Flow Gu...

278f2430d0db2b7b861e4b1910052e3e038ddd42 authored almost 6 years ago
Rollback of rL355585.

Introduces memory leak in FunctionTest.GetPointerAlignment that breaks sanitizer buildbots:

```...

fbb95163393c698d3112e00829a7d8f25def132d authored almost 6 years ago
[OPENMP 5.0]Add initial support for 'allocate' directive.

Added parsing/sema analysis/serialization/deserialization support for
'allocate' directive.

git...

3fbbfdb3b66a8cfc4dc51bb9f1aa677fbe2d46af authored almost 6 years ago
[Sema] Change addr space diagnostics in casts to follow C++ style.

This change adds a new diagnostic for mismatching address spaces
to be used for C++ casts (only ...

d8ac2ca1f5fcf5661ec67d14a532f892603528f2 authored almost 6 years ago
Passthrough compiler launcher

Summary: Not having this seems like an oversight, and makes stage2 builds odd.

Reviewers: ddunb...

eb5e0c173397ab6d234ae2efe9f229c25a6ddecd authored almost 6 years ago
[PR40778][Sema] Adjust addr space of operands in builtin operators.

Adjust address space for references and pointer operands of builtin operators.

Currently this c...

f384fbb54f9562470ad85f38d9e4a98b83297e45 authored almost 6 years ago
[PR40778] Preserve addr space in Derived to Base cast.

The address space for the Base class pointer when up-casting
from Derived should be taken from t...

3bef4a5688250d984c10ef3ed64c85d0f62de5ac authored almost 6 years ago
[analyzer] handle modification of vars inside an expr with comma operator

We should track mutation of a variable within a comma operator expression.
Current code in ExprM...

931a426f3341d5cdbb5f8c92f7d56f7647a013f8 authored almost 6 years ago
expected-no-diagnostics@ does not make sense, switching to a more idiomatic form; NFC.

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

997080398003670def4126cfdec13a94c59af75c authored almost 6 years ago
[ASTImporter] Changed use of Import to Import_New in ASTImporter.

Reviewers: a.sidorin, shafik, a_sidorin, martong

Reviewed By: a_sidorin

Subscribers: rnkovacs,...

17416dcfc2b53749522deb7430f99caa5670dc59 authored almost 6 years ago
[ASTImporter] Import member expr with explicit template args

Summary:
Member expressions with explicit template arguments were not imported
correctly: the De...

c2be515a96dfda4019e56b94c22f42e4051e0a10 authored almost 6 years ago
[ASTImporter] Handle redecl chain of FunctionTemplateDecls

Summary:
Redecl chains of function templates are not handled well currently. We
want to handle t...

fd0b0071dd10f273da0f9ca9611981b9b00a4069 authored almost 6 years ago
[analyzer] Handle comparison between non-default AS symbol and constant

Summary:
When comparing a symbolic region and a constant, the constant would be
widened or trunc...

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

8b6359547d340df81f78982b853bd4a7ae6f0220 authored almost 6 years ago
[libclang] Fix CXTranslationUnit_KeepGoing

Since
commit 56f548bbbb7e4387a69708f70724d00e9e076153
[modules] Round-trip -Werror flag thro...

83bce931a4966321470af62b3d8a81b9e1c8c2e4 authored almost 6 years ago
[IR][ARM] Add function pointer alignment to datalayout

Use this feature to fix a bug on ARM where 4 byte alignment is
incorrectly assumed.

Differentia...

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

452ea818bb88d432c925c31d7f15846fb1626d1c authored almost 6 years ago
Merge pull request #271 from apple/rdar48629171-fix-bad-merge

[Basic] Fix FileManager cache issue from bad merge

67f5cd0c4036d7719d71618623f58e1308a8e555 authored almost 6 years ago
[PGO] Re-submit: Clang part of change for context-sensitive PGO (part2)

Part 2 of CSPGO change in Clang: Add test cases.

Differential Revision: https://reviews.llvm.or...

8b97dd6e80818153219737532ed2d2da94110e0e authored almost 6 years ago
[CUDA][HIP][DebugInfo] Skip reference device function

Summary:
- A device functions could be used as a non-type template parameter in a
global/host ...

13ddb5b2d0c5d5877bc0e0f4c63b9ce7a40516bd authored almost 6 years ago
AMDGPU: Fix the mapping of sub group sync scope

Map memory_scope_sub_group to "wavefront" sync scope

Differential Revision: https://reviews.llv...

59808061312eab32e263e7de970a521f42293da9 authored almost 6 years ago
Passthrough compiler launcher

Summary: Not having this seems like an oversight, and makes stage2 builds odd.

Reviewers: ddunb...

8a3156fb0d54c297f4e6603af0f179a4659eb475 authored almost 6 years ago
Revert "[IR][ARM] Add function pointer alignment to datalayout"

This reverts commit 2391bfca97290181ae65796ea6da135d1b6d037b.

This reverts rL355522 (https://re...

c9de4d4aaf748644243d7c8aa75994185e47272c authored almost 6 years ago
[Basic] Fix FileManager cache issue from bad merge

I missed this while cherry-picking fe7e41c.

Fixes rdar://48629171

ac732eba34c75eb4d85ed50ede28316a3f0d8402 authored almost 6 years ago
Define default __has_attribute

157b89d99e9418ac41a7fe96e6bb35569ec0b2b1 authored almost 6 years ago
Remove noescape from set_unit_event_handler

664b2769e2b5e8b490e5cbdb4e3eacdf1fb92a09 authored almost 6 years ago
Mark indexstore callbacks with noescape attribute

5fb6ee866115bbcc21c8589b4a7f4f9eb31fd8f5 authored almost 6 years ago
[IR][ARM] Add function pointer alignment to datalayout

Use this feature to fix a bug on ARM where 4 byte alignment is
incorrectly assumed.

Differentia...

4ae038e1cdcd46a5959839d681e6ba345a42c407 authored almost 6 years ago
Reland "[Remarks] Refactor remark diagnostic emission in a RemarkStreamer"

This allows us to store more info about where we're emitting the remarks
without cluttering LLVM...

1cd00105ff77314157050c32ec75f6a13eef5b05 authored almost 6 years ago
Revert "[Remarks] Refactor remark diagnostic emission in a RemarkStreamer"

This reverts commit 2e8c4997a2089f8228c843fd81b148d903472e02.

Breaks bots.

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

394ff15e8a3533cc72e38b32919a21fca13f4e8a authored almost 6 years ago
[Remarks] Refactor remark diagnostic emission in a RemarkStreamer

This allows us to store more info about where we're emitting the remarks
without cluttering LLVM...

007c2359d05ddef1fe74c5e94e6a454ef8f415d3 authored almost 6 years ago
[PR40778] Add addr space conversion when binding reference to a temporary.

This change fixes temporary materialization to happen in the right
(default) address space when ...

716cfc63707a873390105008830efb6b86ec80f6 authored almost 6 years ago
Inline asm constraints: allow ICE-like pointers for the "n" constraint (PR40890)

Apparently GCC allows this, and there's code relying on it (see bug).

The idea is to allow expr...

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

9eabe3ead2641ad7820f4a95fc0fe5f60b25dfc9 authored almost 6 years ago
clang-cl: Parse /Qspectre and a few other missing options (PR40964)

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

45032a803d969a57c2161bfd14a75da71862b84b authored almost 6 years ago
[clang][OpenMP] Revert "OMPFlushClause is synthetic, no such clause exists"

Summary:
This reverts rL352390 / D57280.

As discussed in https://reviews.llvm.org/D57112#inline...

134d9aa746792d05d7b2e93b99809bc5efb9ae95 authored almost 6 years ago
Fix slashes in path references in -Rmodule-import test from r355477

Fixup for r355477 to fix the Windows bot:
http://lab.llvm.org:8011/builders/llvm-clang-x86_64-...

38f1a525822288cc0aec7b2470edb61c2a2c0188 authored almost 6 years ago
Modules: Add -Rmodule-import

Add a remark for importing modules. Depending on whether this is a
direct import (into the TU b...

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

ef9c7aec5ebace7b6d4ce4e7513838dcdf7330e4 authored almost 6 years ago
Merge pull request #270 from harlanhaskins/remove-filedata

[cherry-pick] Replace clang::FileData with llvm::vfs::Status

48e9374d47e5bad58e9913d18b61c49e8ec46db8 authored almost 6 years ago
[Fixed Point Arithmetic] Fixed Point and Integer Conversions

This patch includes the necessary code for converting between a fixed point type and integer.
Th...

ad9a67e1f7dae24e41d70541d09019900ec029cd authored almost 6 years ago