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

PR41845: Detect and reject mismatched inner/outer pack expansion sizes

in fold expressions rather than crashing.

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

c10f0b96cad0191a4029c4a0cf0f55d30b6ce7dc authored over 5 years ago
PR41854: Don't assert when constant-evaluating a member function call on an invalid designator.

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

77fb231f9e5c4320b1a6c1c35728f30175af2cf8 authored over 5 years ago
[c++20] P1064R0: Allow virtual function calls in constant expression

evaluation.

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

759940ade0cc949b4ea674baf57bee5e8e383076 authored over 5 years ago
Fix test to use -cc1.

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

536f8e3da2d11d10868743ffd4ea69bd67c4f6f0 authored over 5 years ago
Propagating prior merge from 'llvm.org/master'.

966f42112faa8cfb4c1b371dae4bd880414257c3 authored over 5 years ago
[clang] Regenerate AST matcher docs 📖

Summary:
The documentation seems to have been manually edited in https://reviews.llvm.org/rGa282...

d1937c09f11892ecf2f176d53cbba1987dee80c7 authored over 5 years ago
Propagating prior merge from 'llvm.org/master'.

833b8362d3aba5a4624c4fa0ce891dcc07dd2f6a authored over 5 years ago
Fix for P41852 where builtin attributes were being caught by FindLocsWithCommonFileID().

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

9f75477c36f6807d1604d4d07ab27d388115d708 authored over 5 years ago
make -ftime-trace also print template arguments

Without this, I get e.g. 'PerformPendingInstantiations' -> 'std::fill',
now I get 'std::fill<uns...

589b82d1efbd3c1a97b41692370e32ddd3a65efc authored over 5 years ago
Reject attempts to call non-static member functions on objects outside

their lifetime in constant expressions.

This is undefined behavior per [class.cdtor]p2.

We cont...

7c5438e036cdd2c12a5c894526a7ee618c78d708 authored over 5 years ago
Propagating prior merge from 'llvm.org/master'.

d7825afe8404286b087646f57d9ba34a13b2c849 authored over 5 years ago
Fix handling of objects under construction during constant expression

evaluation.

It's not enough to just track the LValueBase that we're evaluating, we
need to also ...

c3d00e1444a2eb121d76b7e01b68887a6109209a authored over 5 years ago
Revert rL360499 and rL360464 from cfe/trunk:

Reject attempts to call non-static member functions on objects outside
their lifetime in constant...

0ec8105cd9ce6be9233d60301f3e00dc5a26f5f7 authored over 5 years ago
ConstantLValueEmitter::tryEmitAbsolute - remove unused variable. NFCI.

Duplicate getOffset() call.

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

6bb42abb270b5879a3acd289ca42341115a3cb46 authored over 5 years ago
Propagating prior merge from 'llvm.org/master'.

d57f6dbee072e4226cb76c836b31ae700a4fead2 authored over 5 years ago
Reject attempts to call non-static member functions on objects outside

their lifetime in constant expressions.

This is undefined behavior per [class.cdtor]p2.

We cont...

ede407975c9986dd4992e86f7adcf28cd2c83b74 authored over 5 years ago
Merge remote-tracking branch 'origin/swift-5.1-branch' into stable

c8239f9976904be9426da787496b6e44c54f4de8 authored over 5 years ago
[cc1as] Change -compress-debug-sections= to use --

The double dash form is documented by GNU as, used by gcc, and accepted by llvm-mc.

git-svn-id:...

7eda614874ea7ab87196c6698b4af9a61e8595b1 authored over 5 years ago
Merge pull request #317 from smeenai/fix-class-stubs-test

[clang] Fix test/CodeGenObjC/class-stubs.m after LLVM r360359

392bd55f4d83437bd5c2c967c5709d74626d50d7 authored over 5 years ago
[Darwin] Introduce a new flag, -fapple-link-rtlib that forces linking of the builtins library.

This driver flag is useful when users want to link against the compiler's
builtins, but nothing ...

784fcc1726a897fa316da03e6bb3fe3cd63089fb authored over 5 years ago
Propagating prior merge from 'llvm.org/master'.

c1d32a75c174ac9334ee8910b78bc7369a9a7962 authored over 5 years ago
[analyzer] Fix a crash when doing RVO from within blocks.

When looking for the location context of the call site, unwrap block invocation
contexts because...

7bd17dfff59c7385099b22c1748683e32fb11f35 authored over 5 years ago
[CodeGen][ObjC] Emit invoke instead of call to call `objc_release` when

necessary.

Prior to r349952, clang used to call objc_msgSend when sending a release
messages, em...

b30d40eb8d46a8ffe901cd75582b74b92cb7b377 authored over 5 years ago
[ThinLTO] Clang test changes for new CanAutoHide flag

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

f71afb2d0678fcd167bd8e04f523d6828f0f0295 authored over 5 years ago
Fixed tests where grep was not matching the linefeed

When files are synchronized locally as CRLF on Windows, grep didn't match the newline. Switched ...

2480dce48b5bd384dcc85cd2e58cae82bbb6c61f authored over 5 years ago
Add target triple to test.

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

36d9f294eebaf9e5ba231c00c7c0d50fd2a98a94 authored over 5 years ago
Fix handling of objects under construction during constant expression

evaluation.

It's not enough to just track the LValueBase that we're evaluating, we
need to also ...

e11abb81c1c5aebac7ab214321ef04743c73b57b authored over 5 years ago
Improve interface of APValuePathEntry.

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

f1b0224cf7e311571cd99184b98d1c4db519923d authored over 5 years ago
[clang] Fix test/CodeGenObjC/class-stubs.m after LLVM r360359

LLVM r360359 changes Obj-C symbols from private to internal and removes
the leading l_. Adjust t...

94c67a8520374453049f7bca8bf8739413499658 authored over 5 years ago
Replace 'REQUIRES: nozlib' with '!zlib' because we don't need two ways

to say the same thing.

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

69f10062ab629f12d111e538a4f1acb6d66327d4 authored over 5 years ago
Fix and test for assertion error in P41835.

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

5ab2c8ba2bdeca94b6e8990c25596601b4314f20 authored over 5 years ago
Replace 'REQUIRES: not_?san' with 'UNSUPPORTED: ?san' as that better

expresses the intent of the exclusion.

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

4c51e7e315399168695171f7655a01089c7bb6ac authored over 5 years ago
[Sema] Mark array element destructors referenced during initialization

This fixes a crash where we would neglect to mark a destructor referenced for an
__attribute__((...

66c0b31d40bdd797eef8184ec0626f3f212612b9 authored over 5 years ago
[libclang] Forward isInline for NamespaceDecl to libclang

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

c06fed002f4859ab3eaab5401d7d48a75ffecd89 authored over 5 years ago
Add name comments for bools passed to getObjCEncodingForTypeImpl()

No behavior change. Medium term, probably want to use a bitmask instead
of 8 distinct bool param...

966f61d14e202ac0976a67199556123f895a710e authored over 5 years ago
Replace lit feature keyword 'non-ms-sdk' with 'ms-sdk'; eliminate

'non-ps4-sdk' and use just 'ps4'.

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

dbeeb39763074ace45f5bf705c89853f6885bf1d authored over 5 years ago
Fix Wdocumentation warning. NFCI.

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

504cd3a0ee76bf7c02ed453397bb2a41460003cd authored over 5 years ago
[Preamble] Stop circular inclusion of main file when building preamble

If a header file was processed for the second time, we could end up with a
wrong conditional sta...

03fcf7458987422940a2662e9ace1f9f701671c3 authored over 5 years ago
Revert "Revert "[clang-format] Keep protobuf "package" statement on one line""

Summary:
Top-level "package" and "import" statements should generally be kept on
one line, for a...

0c2ccecbd8a8d1d643528614ffa5bec4ecaa13f2 authored over 5 years ago
Propagating prior merge from 'llvm.org/master'.

c7747991e8175bf9ae7eac863e148185a14c555e authored over 5 years ago
Delete write-only HasQualifiers after rC360370

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

424ba721d32386a24cb06ab3cafb548f47c3b156 authored over 5 years ago
Added an assert in `isConstantInitializer`: initializer lists must be in semantic form

Subscribers: cfe-commits

Tags: #clang

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

...

3e49615c158e33f8cff5439c8bd01f4b50e6b067 authored over 5 years ago
Assume `__cxa_allocate_exception` returns an under-aligned memory on

Darwin if the version of libc++abi isn't new enough to include the fix
in r319123

This patch res...

d8066f9602863a39f208a52ca3be977c46a5d0f0 authored over 5 years ago
Change -gz and -Wa,--compress-debug-sections to use gABI compression (SHF_COMPRESSED)

Since July 15, 2015 (binutils-gdb commit
19a7fe52ae3d0971e67a134bcb1648899e21ae1c, included in 2...

37732261c04d0473a51003c42910c4540df15446 authored over 5 years ago
Merge pull request #315 from slavapestov/upstream-with-swift-class-stubs

Push latest objc_class_stub changes to upstream-with-swift branch

77e57edcadf59feebaef2a518e9d769c913e84da authored over 5 years ago
ClangAttrEmitter: CustomCode attributes now bind LangOpts as a name

Prefixing the expression with "S." was really silly because we
could only refer to LangOpts at t...

39328191f726c09330d0469d59712ee29faffb0f authored over 5 years ago
Fix compile error from upstream changes

60f240b25757507099f287e7695f31f3c5c69aed authored over 5 years ago
Weak-link reference to objc_loadClassref()

dac0edb94edb488df5ebaca6ee7d13ed9f88ce14 authored over 5 years ago
Sema: NFC cleanup for ObjCClassStubAttr checking

c835966fb6ac488ecab75bc1b09fbedb08c50ea1 authored over 5 years ago
Objective-C class references for class stubs no longer go in the __objc_classrefs section

90752746d467e2f8eb92e75b433499ce8b256680 authored over 5 years ago
Objective-C categories for class stubs go in the __objc_catlist2 section

d358baed4d9ecb6fc15990c3be00d40b9c08232f authored over 5 years ago
Remember to decay arrays to pointers before checking whether the

left-hand side of an -> operator is a pointer to class type.

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

e2a670386967259ce269ca963a1b90c44a63a05a authored over 5 years ago
Merge remote-tracking branch 'origin/swift-5.1-branch' into stable

d493f2781197e6f718266e9810a56f271e8a90dd authored over 5 years ago
Merge pull request #314 from rintaro/5.1-indexdatastore-stdsort

[IndexDataStore] Sort unit names using std::sort()

399bd270703edf26abdbb5418f06e0a56a2c10b1 authored over 5 years ago
[IndexDataStore] Sort unit names using std::sort()

std::string is not POD.
(cherry picked from commit dcd292d511866c4fe33a90c6a37b9cf640458216)

2815beb32a2447ba83a60010d7c64209755e53c7 authored over 5 years ago
Merge pull request #313 from rintaro/upstream-indexdatastore-stdsort

[IndexDataStore] Sort unit names using std::sort()

d548fb13f337f74acd22d7c4dc86c2bdc91ba233 authored over 5 years ago
NFC, make XFAIL work on macOS correctly for test/Driver/XRay/xray-instrument-os.c

The test 'test/Driver/XRay/xray-instrument-os.c' is supposed to XFAIL on -darwin triples.
Howeve...

7742fbb68c1c5658c0f18143fc29ebcf3b46a0bb authored over 5 years ago
NFC, make XFAIL work on macOS correctly for test/Driver/XRay/xray-instrument-os.c

The test 'test/Driver/XRay/xray-instrument-os.c' is supposed to XFAIL on -darwin triples.
Howeve...

1bafef2c4f4c440ef17555bfdc91116c85e84eee authored over 5 years ago
DR1872: don't allow any calls to virtual functions in constant

evaluation.

Not even in cases where we would not actually perform virtual dispatch.

git-svn-id:...

0446a431cf5657f55e363f18cc79198f10f7684c authored over 5 years ago
Simplify tracking of end of consumed decl-specifier sequence.

Patch by Tyker!

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

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

77d2b2537b1d0c5107bbc5c4cfc129bc70cbb506 authored over 5 years ago
[IndexDataStore] Sort unit names using std::sort()

std::string is not POD.

dcd292d511866c4fe33a90c6a37b9cf640458216 authored over 5 years ago
[OPENMP]Fix PR41767: diagnose DSA for variables in clauses with default(none).

If the combined directive has default(none) clause and has clauses for
inner directive that refe...

00f43c390b0626bba117e87005c615f5ab0df723 authored over 5 years ago
Specify target triple to fix the tests I committed in r360359 that are

still failing.

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

0287533e3f4f1411092658384fbe337754961c56 authored over 5 years ago
Merge remote-tracking branch 'llvm.org/master' into upstream-with-swift

Conflicts:
lib/CodeGen/CGObjCMac.cpp
test/CodeGenObjC/forward-protocol-metadata-symbols.m

aff6a8b71b7d57c09de72f9877786e42a9579851 authored over 5 years ago
[OPENMP]Fix PR41768: check DSA for globals with default(none) clauses.

If the default(none) was specified for the construct, we might miss
diagnostic for the globals w...

0c97147170a388ca29c84ecc1034249959baf711 authored over 5 years ago
Specify ObjC runtime to fix the tests I committed in r360359 that are

failing.

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

92797dd80a8e8fc03a75ad9725558b94e0319bd4 authored over 5 years ago
[CodeGen][ObjC] Remove the leading `l_` from ObjC symbols and make

private symbols in the __DATA segment internal.

This prevents the linker from removing the symbo...

f96304e9cc68947ab821b64c7cea761d9f956b87 authored over 5 years ago
Merge pull request #311 from davezarzycki/fix_check_clang_on_linux

[Test] Make `ninja check-clang` work on Linux

66648f9691e848f3dac836e4d4f147c8cffca8a4 authored over 5 years ago
[OpenCL] Make global ctor init function a kernel

We need to be able to enqueue internal function that initializes
global constructors on the host...

f0b138aae25b684d4117897609e61e451685ee3e authored over 5 years ago
[Test] Cherry-pick fix to make `ninja check-clang` work on Linux

4ad401aa97c4cf070a64c84f83481209b8e0f4ca authored over 5 years ago
Fix gcc compilation warning in an assert [NFC]

Without this, gcc (7.4) complains with

../tools/clang/lib/Parse/ParseDecl.cpp:3937:63: error: s...

e889472f6daf2da06925f0124a983e3f0e10cb61 authored over 5 years ago
[OpenCL] Switched CXX mode to be derived from C++17

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

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

627d73ca1fec6bdff9f39c9b70cf1f3e9fd86781 authored over 5 years ago
[FIX] Change test to read file instead

This should fix the test file failing in
windows by reading the file it self instead
of stdin, f...

adad603371a746bba906d8b32b338f207cea11ac authored over 5 years ago
Revert "[OPENMP]Fix PR41768: check DSA for globals with `default(none)` clauses."

This has introduced (exposed?) a crash in clang sema,
that does not happen without this patch.
I...

513e4bd1d479219a88a92429359ebcb8762e2c8f authored over 5 years ago
Revert "[OPENMP]Fix PR41767: diagnose DSA for variables in clauses with default(none)."

This implementation isn't sound as per the standard.
It erroneously diagnoses e.g. the following...

ae700142cf513536f8b0681d6f93fa6e21217481 authored over 5 years ago
[SPIR] Simplified target checking.

Switched to Triple::isSPIR() helper to simplify code.

Patch by kpet (Kevin Petit)!

Differentia...

cd7db9f83fe7c6aeaba4cd481423c39f1bd5647c authored over 5 years ago
[ARM] Fix the extensions implied by a cpu name

Summary:
When using `clang -mcpu=CPUNAME+FEATURELIST`,
the implied features defined by CPUNAME a...

bc2b7325c415dae05a7407995092e38d11be0562 authored over 5 years ago
[NewPM] Setup Passes for KASan and KMSan

While ASan and MSan passes were already ported to new PM, the kernel
variants weren't setup in t...

4ba126ade702c14d2e52a1cceda4ca66c8fb47ad authored over 5 years ago
Propagating prior merge from 'llvm.org/master'.

f263a9cbf977a2b7e9f7b87e53404d4c98f36614 authored over 5 years ago
[c++20] Add support for explicit(bool), as described in P0892R2.

Patch by Tyker!

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

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

7a6d690bb52df60e979a7c7f9d03a774009bb443 authored over 5 years ago
[cxx_status] Mark support for std::is_constant_evaluated as done.

Eric implemented this in r359067.

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

b14b99abefb0dd40b13dd70c99d87d04a66b3236 authored over 5 years ago
[cxx_dr_status] Update links to use wg21.link, and list "extension"

issues as "extension" rather than "not resolved".

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

063e6fdd5ca60d242e9358cdd50f7e05221884ff authored over 5 years ago
[c++20] Implement P0846R0: allow (ADL-only) calls to template-ids whose

template name is not visible to unqualified lookup.

In order to support this without a severe de...

fb98e7c13da639f34f34830a4e675367e0816cb6 authored over 5 years ago
Merge remote-tracking branch 'origin/swift-5.1-branch' into stable

cd1c5c90d3d0caa8b5deb122e3ffbf858c69da1d authored over 5 years ago
When typo-correcting a function name, consider correcting to a type name

for a function-style cast.

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

70cd574857c6023b8c60e325c4029a23f716c2dd authored over 5 years ago
Try to restore some clang test headers lost in r360291

I'm not sure why 'git llvm revert' removed them.

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

94dcb0947c393ff77f6da09970c197fb651631c0 authored over 5 years ago
Revert Include corecrt.h in stddef.h and vcruntime.h in stdarg.h to improve MS compatibility.

This reverts r360271 (git commit a0933bd8ec1515167ea653f7ee788b8bbde27d51)

There are concerns o...

1dec30c3f9f1a20ba4ae7bf577e7cdae683f28c3 authored over 5 years ago
Merge remote-tracking branch 'llvmorg/master' into upstream-with-swift

Conflicts:
lib/Sema/SemaStmt.cpp

dbb4639669281d6b7e6662019c9eb35891f0dd38 authored over 5 years ago
Include corecrt.h in stddef.h and vcruntime.h in stdarg.h to improve MS

compatibility. This allows some applications developed with MSVC to
compile with clang without a...

729396776ea301063e6b2f18f65a815ab3d77ae0 authored over 5 years ago
Revert "[Sema][ObjC] Disable -Wunused-parameter for ObjC methods"

This reverts commit e3d6f04d4cb40bec81e57f19d08c89541a42a9e0. I need to
go through the CCC proce...

c0d2847204f6f55df0b82288b011cac85c1ff1d7 authored over 5 years ago
[Sema][ObjC] Disable -Wunused-parameter for ObjC methods

The warning isn't very useful when the function is an ObjC method.

rdar://problem/41561853

Dif...

e3d6f04d4cb40bec81e57f19d08c89541a42a9e0 authored over 5 years ago
[OpenMP][Clang] Support for target math functions

Summary:
In this patch we propose a temporary solution to resolving math functions for the NVPTX...

2dffffc4ea20d6f292d86d29f3767fdc1ea63910 authored over 5 years ago
[ASTImporter] Fix inequivalence of unresolved exception spec

Summary:
Structural equivalence of methods can falsely report false when the
exception specifier...

1cba198da9e5c6a3f9763cf2fbe642508a68c922 authored over 5 years ago
[Sema][OpenCL] Make address space conversions a bit stricter.

The semantics for converting nested pointers between address
spaces are not very well defined. S...

a5d10485549e0c79cd825773460453351afd2fb5 authored over 5 years ago
[clang-format] Fix the crash when formatting unsupported encodings

Fixes PR33946

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

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

d8337696a9075f7e9b6555296fb9b9363cd87c91 authored over 5 years ago
[clang] Fix a bug that reports UTF32 (LE) files as UTF16 (LE) ones

Also fix a typo for the SCSU byte order mark.

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

1b0b08fd71d6b86e62deaf473f716b0a12899dfd authored over 5 years ago
Allow test to pass after 2030.

Patch by Bernhard M. Wiedemann.

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

901e1283cee64d0de5e0f77533b605d8256416f8 authored over 5 years ago
Allow 'static' storage specifier on an out-of-line class member template declaration in MSVCCompat mode.

Patch by Soumi Manna.

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

3940f412bff449818c5f297abbb5bdb1b756de3b authored over 5 years ago
[libclang] PR41649: Remove pointless duplicate flag. NFC.

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

cd82a9ab78c01b2cbf361a6c217e5aff75c2bea5 authored over 5 years ago
Fix for the greendragon bots.

Adds extra checks for ObjC GC and Ownership.

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

3767637144e012be48d29e094b4ea2962e8f8bce authored over 5 years ago