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

Revise test case due to the change from CUDA 10+.

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

0630e7a6a475b03e1ea1a04de82d495acc839373 authored over 5 years ago by Michael Liao <[email protected]>
Fix for PR42089, regression from r362119

The implementation of the NoThrow ExceptionSpecificationType missed a
switch statement for formi...

8c8519965391cbbeadb0bc83696716ea18b1a2fa authored over 5 years ago by Erich Keane <[email protected]>
[X86] Add VP2INTERSECT instructions

Support intel AVX512 VP2INTERSECT instructions in clang

Patch by Xiang Zhang (xiangzhangllvm)

...

7c9c5922e0c09a794cbcdb9437915456399e6a63 authored over 5 years ago by Pengfei Wang <[email protected]>
Propagating prior merge from 'llvm.org/master'.

0c63846e4158b2ce57e9834956f42541cb6a5115 authored over 5 years ago by Automerger <Automerger@Swift>
re-commit r361928: [PowerPC] [Clang] Port SSE intrinsics to PowerPC

Port xmmintrin.h which include Intel SSE intrinsics implementation to PowerPC platform (using Al...

eeee4079f9164143102deec6a9eb002bd3c823c2 authored over 5 years ago by Zi Xuan Wu <[email protected]>
Redirect test output to /dev/null

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

04c0211bac2ff73dd299a74c47f54507fb51699e authored over 5 years ago by Richard Trieu <[email protected]>
Revert "[X86] Fix i386 struct and union parameter alignment"

This reverts commit d61cb749f4ac2c90244906d756e80a5c4a7ffa89 (SVN:
361934).

According to James ...

e11ffa2699d8d48c98f1113415c2b001ea2e46e1 authored over 5 years ago by Pengfei Wang <[email protected]>
[CMake] Provide an option to use relative paths in debug info

CMake always uses absolute file paths in the generated compiler
invocation which results in abso...

0f1b23db1a689863550cba3e7b5b9d6dfdc70450 authored over 5 years ago by Petr Hosek <[email protected]>
PR39728: When completing a class, complete the destructor first.

We need to know whether the destructor is trivial in order to tell
whether other parts of the cl...

aa455897d0206d4d64782433a7d70eeb3d93256e authored over 5 years ago by Richard Smith <[email protected]>
Fix the predefined exponent limit macros for the 16-bit IEEE format.

The magnitude range of normalized _Float16 is 2^-14 (~6e-5) to
(2-2^-10)*2^15 (65504). You migh...

2b26b10a90440af78f8eb8ac05e46ba246e9c437 authored over 5 years ago by John McCall <[email protected]>
Defer building 'this' captures until we have left the capturing region

and returned to the context in which 'this' should be captured.

This means we now always mark 't...

1a0fe6c4a8b9cb87bd7d943f3f1289cbbf434147 authored over 5 years ago by Richard Smith <[email protected]>
[CMake][Fuchsia] Use libc++ ABI v2 on Darwin as well

Since we share headers between host and target builds, we need to use
the same version for both....

f17828ac58f0964bef11bfd0766357a084156f15 authored over 5 years ago by Petr Hosek <[email protected]>
Fix -DBUILD_SHARED_LIBS=ON build after rL362160

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

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

feb048ee6860bd19dea06c41ceec539f2f752118 authored over 5 years ago by Sam Clegg <[email protected]>
Defer capture initialization for captured regions until after we've left

the captured region scope.

This removes a case where we would build expressions (and mark
declar...

4c6199e026e6ff47812f39c9802313b23cd26107 authored over 5 years ago by Richard Smith <[email protected]>
Defer capture initialization for blocks until after we've left the

function scope.

This removes one of the last few cases where we build expressions in the
wrong f...

00cfd3ff27bf1b2d323717402403086af1dc3237 authored over 5 years ago by Richard Smith <[email protected]>
Refactor OpenMP stack management.

Instead of duplicating access to the directive stack throughout
SemaOpenMP.cpp, consolidate it t...

a7fb0fca0bbe2fea51490be70f219d1d818fac8f authored over 5 years ago by Richard Smith <[email protected]>
Fix "fallthrough annotation in unreachable code" warning.

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

44d5e48d1d83168417a340d28a52c76fe79067ad authored over 5 years ago by Richard Smith <[email protected]>
Merge pull request #327 from slavapestov/merge-upstream-class-stubs

Merge upstream class stubs

5ed420fcf2dc4dbd4e55cd711e7bbbaeca36ef4b authored over 5 years ago by Slava Pestov <[email protected]>
Merge remote-tracking branch 'llvm/master' into stable

0c4c32fa93fed5c040c418b352f2ea567ecac75d authored over 5 years ago by Slava Pestov <[email protected]>
Add enums as global variables in the IR metadata.

Summary:
Keeps track of the enums that were used by saving them as DIGlobalVariables,
since Code...

83048f49327157f1cbfa6e20335ec322366abcac authored over 5 years ago by Amy Huang <[email protected]>
[Remarks][NFC] Move the serialization to lib/Remarks

Separate the remark serialization to YAML from the LLVM Diagnostics.

This adds a new serializat...

aa3cc5e20a2514aad3787629e12bfc3f00f64e19 authored over 5 years ago by Francis Visoiu Mistrih <[email protected]>
Fix constexpr __builtin_*_overflow issue when unsigned->signed operand.

As reported here https://bugs.llvm.org/show_bug.cgi?id=42000, it was
possible to get the constex...

a5acace6e3574d196f16fd9fb8a2233ee2de38a1 authored over 5 years ago by Erich Keane <[email protected]>
[c++2a] Fix assertion failure if we would walk over more than one level

of derived-to-base conversion path when implicitly starting union
subobject lifetimes in constant...

d2c6411c22d48d28d70c3988002d0c3cfbc7acb6 authored over 5 years ago by Richard Smith <[email protected]>
Mark test as requiring an ARM target.

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

4151c2967110bc44a0ce0ce94b502713695a0a0f authored over 5 years ago by Douglas Yung <[email protected]>
[GWP-ASan] Mutex implementation [2].

Summary:
See D60593 for further information.
This patch pulls out the mutex implementation and t...

7d5568e56bd8b9227e14501be82a490d5245c718 authored over 5 years ago by Mitch Phillips <[email protected]>
Reapply: LLVM IR: update Clang tests for byval being a typed attribute.

Since byval is now a typed attribute it gets sorted slightly differently by
LLVM when the order ...

cfea492dda1f29d54d1078211f31406422137341 authored over 5 years ago by Tim Northover <[email protected]>
Merge pull request #326 from smeenai/ast-test-fix

[AST] Fix test for Swift clang

b3ac05261570447f6f9fb39f43aaebaa43bc94a9 authored over 5 years ago by Saleem Abdulrasool <[email protected]>
Add Attribute NoThrow as an Exception Specifier Type

In response to https://bugs.llvm.org/show_bug.cgi?id=33235, it became
clear that the current mec...

b4651bd20f476f639700b73cd01850fb957de987 authored over 5 years ago by Erich Keane <[email protected]>
[Docs] Modernize references to macOS

Summary:
This updates all places in documentation that refer to "Mac OS X", "OS X", etc.
to inst...

0995aac68ee0d35648cd8a7577689a8bec29be6d authored over 5 years ago by J. Ryan Stinnett <[email protected]>
Revert "clang support gnu asm goto."

This reverts commit 954ec09aed4f2be04bb5f4e10dbb4ea8bd19ef9a.

Reverting due to test failures as...

a85622d923a899272c7acbd19210ba2f7bb88ab9 authored over 5 years ago by Erich Keane <[email protected]>
[OpenCL] Fix OpenCL/SPIR version metadata in C++ mode.

C++ is derived from OpenCL v2.0 therefore set the versions
identically.

Differential Revision: ...

3fe47eab4520a5fdfe3b83aa88ef6a9f46bc5330 authored over 5 years ago by Anastasia Stulova <[email protected]>
[analyzer] print() JSONify chain: Fix possible build-bot breaks

Summary:
Printing constructing_objects could be non-deterministic as it is a map.

git-svn-id: h...

97024bd353aed8d47cfabd3b7a329b1668d2bdde authored over 5 years ago by Csaba Dabis <[email protected]>
Follow up of r362096

The new tests were failing, because I missed dependent patch D60697.
I have removed the failing ...

98a8fbfef77d518fa2cc71b745b4590f7eb96a43 authored over 5 years ago by Sjoerd Meijer <[email protected]>
[analyzer] print() JSONify chain: Fix build-bot breaks

Summary:
Printing out a map structure different in different environments so that
this patch gen...

727eb02a3b7dccdb5a2f81bc3086aedcadf7af7b authored over 5 years ago by Csaba Dabis <[email protected]>
[ARM] Add CLI support for Armv8.1-M and MVE

Given the existing infrastructure in LLVM side for +fp and +fp.dp,
this is more or less trivial,...

adc91db696b2118b664411e229b9d3799a295cf0 authored over 5 years ago by Sjoerd Meijer <[email protected]>
[OpenCL] Support logical vector operators in C++ mode

Support logical operators on vectors in C++ for OpenCL mode, to
preserve backwards compatibility...

3112d5fc665f3cf646b8752421b85fc2180589a0 authored over 5 years ago by Sven van Haastregt <[email protected]>
Fix Wdocumentation warning. NFCI.

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

eabc7b63a0e029642ce9564b262ddad794ba4a08 authored over 5 years ago by Simon Pilgrim <[email protected]>
Revert "asm goto: fix out-of-bounds read of Constraints after rC362045"

It was fixed by rC362062.

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

d89b066b4393bc88e5e924e3fd2da86425217e0c authored over 5 years ago by Fangrui Song <[email protected]>
Fix MSVC "not all control paths return a value" warning.

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

19ba6ef4f4612ec60c405bec4d58f753b5545984 authored over 5 years ago by Simon Pilgrim <[email protected]>
asm goto: fix out-of-bounds read of Constraints after rC362045

When parsing goto labels, Names and Exprs are expanded but Constraints
is not, this may cause a ...

a250e2cd858f79dfedeac06dde0408d49d37eed5 authored over 5 years ago by Fangrui Song <[email protected]>
[AST] asm goto labels don't have constraints, don't try to copy them.

Found by asan.

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

ba2ab1b61589501c54be5e41883a7b6210b43759 authored over 5 years ago by Benjamin Kramer <[email protected]>
Mark CodeGen/asm-goto.c as x86 specific after r362045

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

d3956bb2fff789a36b46c079ad66ed9167ed29ce authored over 5 years ago by Fangrui Song <[email protected]>
Add the `objc_class_stub` attribute.

Swift requires certain classes to be not just initialized lazily on first
use, but actually allo...

64add31d1a424e433ac347d0d4a019b6572d6c99 authored over 5 years ago by John McCall <[email protected]>
[Driver] Render target options (e.g. -fuse-init-array) for -fembed-bitcode

Modern ELF platforms use -fuse-init-array to emit .init_array instead of
.ctors . ld.bfd and go...

a59c51ceaf36b891acc3a98fa12e67819d7993df authored over 5 years ago by Fangrui Song <[email protected]>
[PowerPC] Set the default PLT mode on musl to Secure PLT

The musl libc only supports Secure PLT.

Patch by A. Wilcox!

Reviewed By: jhibbits

Differentia...

79874a04dd950d17ea375daac7bce76146499bfe authored over 5 years ago by Fangrui Song <[email protected]>
[Driver] -static-pie: add -z text

This matches gcc -static-pie. The intention is to prevent dynamic
relocations in read-only segme...

23cca330f3389647c40d75d09d810f799415ce07 authored over 5 years ago by Fangrui Song <[email protected]>
clang support gnu asm goto.

Syntax:
asm [volatile] goto ( AssemblerTemplate
:
:...

5846cacafa3a592f1745aaa20297d744c40dc56c authored over 5 years ago by Jennifer Yu <[email protected]>
CodeView - add static data members to global variable debug info.

Summary:
Add static data members to IR debug info's list of global variables
so that they are em...

e7fac8a0763b4595c1e8db743697857a93d2bf7d authored over 5 years ago by Amy Huang <[email protected]>
[ObjC] Fix encoding of ObjC pointer types that are pointers to typedefs

clang was encoding pointers to typedefs as if they were pointers to
structs because that is appa...

d64e6eeea912442cc75aa09d187bbdb9340d7fb7 authored over 5 years ago by Akira Hatanaka <[email protected]>
Propagating prior merge from 'llvm.org/master'.

eb02553cea2810746bad086254b72293412638a2 authored over 5 years ago by Automerger <Automerger@Swift>
[analyzer] Remove EndPath function as it is dead code

Summary: -

Reviewers: george.karpenkov

Reviewed By: george.karpenkov

Subscribers: baloghadams...

2713d755f233be02f536332ab532d3776cdc6293 authored over 5 years ago by Csaba Dabis <[email protected]>
Revert "LLVM IR: update Clang tests for byval being a typed attribute."

The underlying LLVM change couldn't cope with llvm-link and broke LTO builds.

git-svn-id: https...

41d689e9a0877120bd19555df58305e30cc8f048 authored over 5 years ago by Tim Northover <[email protected]>
[analyzer] ConditionBRVisitor: Boolean support

Summary: -

Reviewers: NoQ, george.karpenkov

Reviewed By: NoQ, george.karpenkov

Subscribers: c...

476b9144efd6448adb4489ead817454a76b26126 authored over 5 years ago by Csaba Dabis <[email protected]>
[analyzer] ConditionBRVisitor: MemberExpr support

Summary: -

Reviewers: NoQ, george.karpenkov

Reviewed By: NoQ

Subscribers: cfe-commits, xazax....

6a908cf3156939257474e8a18b4ae8981be3ea57 authored over 5 years ago by Csaba Dabis <[email protected]>
[analyzer] ConditionBRVisitor: Remove duplicated code

Summary: -

Reviewers: NoQ, george.karpenkov

Reviewed By: NoQ

Subscribers: cfe-commits, xazax....

15e4b7d52704b45df776995df275fe62f24aac1a authored over 5 years ago by Csaba Dabis <[email protected]>
[analyzer] ConditionBRVisitor: Test 'add-pop-up-notes=false'

Summary: -

Reviewers: NoQ, alexfh

Reviewed By: alexfh

Subscribers: cfe-commits, xazax.hun, ba...

f2273e0d2649d2fb6f9257a1e2caeb36013cf4de authored over 5 years ago by Csaba Dabis <[email protected]>
[analyzer] ConditionBRVisitor: Enhance to write out more information

Summary:
Add extra messages to the bug report to inform the user why the analyzer
`Taking true/f...

03db90aec336ac2e9ca0bcda3ff19a01b0336e85 authored over 5 years ago by Csaba Dabis <[email protected]>
[analyzer] [NFC] PathDiagnostic: Create PathDiagnosticPopUpPiece

Summary:
This new piece is similar to our macro expansion printing in HTML reports:
On mouse-hov...

e7a001d8f146ade3192edfc082cb7d511d4a8db6 authored over 5 years ago by Csaba Dabis <[email protected]>
LLVM IR: update Clang tests for byval being a typed attribute.

Since byval is now a typed attribute it gets sorted slightly differently by
LLVM when the order ...

5f6bdf50298013296902cee0a74494f84012a18d authored over 5 years ago by Tim Northover <[email protected]>
[analyzer] print() JSONify chain: Generic stmt_id

Summary: Some environment create less statements so make them generic.

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

e890cb2b7c2b175291ec16bc7756209e57ead77a authored over 5 years ago by Csaba Dabis <[email protected]>
[AST] Fix test for Swift clang

9890adfbee8f854732d0093bc8b2a32be1be8844 changed the AST for
ObjCCompatibleAliasDecl to record t...

da63a9207c242fe5ab05e974db7853ede0e92eb8 authored over 5 years ago by Shoaib Meenai <[email protected]>
[analyzer] SATestBuild.py: Use driver for analyzing single-file tests.

Don't bother coming up with a -cc1 run-line ourselves.

This, in particular, gets rid of a macOS...

df36e33d6e41fc2bbf8b02661efa4e3ebb06a9bd authored over 5 years ago by Artem Dergachev <[email protected]>
[analyzer] print() JSONify: SVal implementation

Summary: -

Reviewers: NoQ, xazax.hun, ravikandhadai, baloghadamsoftware, Szelethus

Reviewed By...

66328ff8269bbb90a63fb039783c697308efe04c authored over 5 years ago by Csaba Dabis <[email protected]>
Fix an unused-variable error.

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

4826ab6a5e22ac62bf788d00d51fa031b3cab244 authored over 5 years ago by Haojian Wu <[email protected]>
[WebAssembly] Support VPtr sanitizer for Emscripten

Summary:
After https://github.com/emscripten-core/emscripten/pull/8651, Emscripten
supports the ...

2597182a4663fbf2797bc9782fcfc934ed159ba5 authored over 5 years ago by Thomas Lively <[email protected]>
[analyzer] print() JSONify: CFG implementation

Summary: -

Reviewers: NoQ, xazax.hun, ravikandhadai, baloghadamsoftware, Szelethus

Reviewed By...

0075a732424c32ed92aaf49704fd6368b5a60fe8 authored over 5 years ago by Csaba Dabis <[email protected]>
[analyzer] print() JSONify: Decl revision

Summary: -

Reviewers: NoQ, xazax.hun, ravikandhadai, baloghadamsoftware, Szelethus

Reviewed By...

0d05e8e655d6567a622bdedb6a89b0101790a4a5 authored over 5 years ago by Csaba Dabis <[email protected]>
[analyzer][AST] print() JSONify: Stmt implementation

Summary:
This patch also adds a function called `JsonFormat()` which:
- Flattens the string so r...

fe49899262b4bcf97fef8bb0ca73eceb8bd631e6 authored over 5 years ago by Csaba Dabis <[email protected]>
[analyzer] print() JSONify: getNodeLabel implementation

Summary: This patch also rewrites the ProgramPoint printing.

Reviewers: NoQ, xazax.hun, ravikan...

ba7166bafcac1412220299dafcf7616f8d95e225 authored over 5 years ago by Csaba Dabis <[email protected]>
[Index] Compute correct symbol kind for variable templates

Summary:
The index library itself seems to never pass variable templates as
input, however clang...

93cc0ae0decc3de36ff9a75ca05213e027d16cdc authored over 5 years ago by Ilya Biryukov <[email protected]>
[CUDA][HIP] Skip setting `externally_initialized` for static device variables.

Summary:
- By declaring device variables as `static`, we assume they won't be
addressable from...

ced275ae4a9488eef8f65dc85d25fa749394e823 authored over 5 years ago by Michael Liao <[email protected]>
Add curley brackets to case statement that declares a variable.

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

1f9e79798f820f8528024735289950ac414999b5 authored over 5 years ago by Erich Keane <[email protected]>
[clang-format] Allow configuring list of function-like macros that resolve to a type

Summary:
Adds a `TypenameMacros` configuration option that causes certain identifiers to be hand...

5f069d77071caa8ed9091f216f852f0c747eb87a authored over 5 years ago by Francois Ferrand <[email protected]>
[NFC] clang-format: Use LLVM style in NamespaceEndCommentsFixerTest

As pointed out in https://reviews.llvm.org/D37813#inline-555026, the
code which is formatted doe...

b9514dcd324aeb269cd94ebda05e7ecb474b89a6 authored over 5 years ago by Francois Ferrand <[email protected]>
[analyzer] print() JSONify: Program state implementation

Summary: -

Reviewers: NoQ, xazax.hun, ravikandhadai, baloghadamsoftware, Szelethus

Reviewed By...

8004395d01b18dd4d7167f944bc12725a7e558ac authored over 5 years ago by Csaba Dabis <[email protected]>
[analyzer] print() JSONify: Checker messages implementation

Summary: -

Reviewers: NoQ, xazax.hun, ravikandhadai, baloghadamsoftware, Szelethus

Reviewed By...

d2c834f99b4d3c96f58c0b5dc73a73050e7e090d authored over 5 years ago by Csaba Dabis <[email protected]>
[analyzer] print() JSONify: Constructing objects implementation

Summary: -

Reviewers: NoQ, xazax.hun, ravikandhadai, baloghadamsoftware, Szelethus

Reviewed By...

d3acf7b44bc388c635e2d5ea31b358f555721118 authored over 5 years ago by Csaba Dabis <[email protected]>
[analyzer] print() JSONify: Type information implementation

Summary: -

Reviewers: NoQ, xazax.hun, ravikandhadai, baloghadamsoftware, Szelethus

Reviewed By...

70b9e2592cf0592a351a5b86d50ed010f3f764c9 authored over 5 years ago by Csaba Dabis <[email protected]>
[analyzer] print() JSONify: Constraints implementation

Summary: -

Reviewers: NoQ, xazax.hun, ravikandhadai, baloghadamsoftware, Szelethus

Reviewed By...

2453ceca55795067a0121805e63f67468f4ed302 authored over 5 years ago by Csaba Dabis <[email protected]>
[analyzer] print() JSONify: Environment implementation

Summary: -

Reviewers: NoQ, xazax.hun, ravikandhadai, baloghadamsoftware, Szelethus

Reviewed By...

74f2f79ab50321f58b41ead5aa997d62a8997492 authored over 5 years ago by Csaba Dabis <[email protected]>
[CodeComplete] Add semicolon when completing patterns for 'static_assert' and 'typedef

This is a trivial follow-up to r360042, which added semicolons to other
pattern completions, so ...

a2d27484eb1b5d93cc5539c6a634b5a6500d6c3d authored over 5 years ago by Ilya Biryukov <[email protected]>
[analyzer] print() JSONify: Store implementation

Summary: -

Reviewers: NoQ, xazax.hun, ravikandhadai, baloghadamsoftware, Szelethus

Reviewed By...

754813c4737a444eeb4ea5b4070073dd251504cc authored over 5 years ago by Csaba Dabis <[email protected]>
[mips] Check argument for __builtin_msa_ctcmsa / __builtin_msa_cfcmsa

The `__builtin_msa_ctcmsa` and `__builtin_msa_cfcmsa` builtins are mapped
to the `ctcmsa` and `c...

3ebd7f5579e6d4cd68139c7c709d58cf0c5f8774 authored over 5 years ago by Simon Atanasyan <[email protected]>
clang-cl: Fix mangling of catchable types with names longer than 4kiB

The mangling used to contain the MD5 name of both the RTTI type
descriptor and the name of the c...

e420b2015caea78d84601f697fbc33b6116ec622 authored over 5 years ago by Nico Weber <[email protected]>
[LibTooling] Add `before` and `after` selectors for selecting point-ranges relative to nodes.

Summary:
The `before` and `after` selectors allow users to specify a zero-length range --
a poin...

30ea23205a1eb14ab1833157beac77be1244cf9b authored over 5 years ago by Yitzhak Mandelbaum <[email protected]>
[Index] Correctly set symbol kind of IndirectFieldDecl

Summary: The kind has been 'unknown' before, now it is 'field'.

Reviewers: kadircet

Reviewed B...

a77a165f0d4cd1a8b56c41e68c96f793c66e2a62 authored over 5 years ago by Ilya Biryukov <[email protected]>
Fix test added in r361903 to work on Windows.

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

7a3b235bcf977c1cdaf6bd4d85244f293b088143 authored over 5 years ago by Douglas Yung <[email protected]>
Propagating prior merge from 'llvm.org/master'.

4299c0bf80b653ed1102c4970ecad3a6663b78f8 authored over 5 years ago by Automerger <Automerger@Swift>
[X86] Fix i386 struct and union parameter alignment

According to i386 System V ABI 2.1: Structures and unions assume the
alignment of their most str...

3ae15d2c9fbebdd0847144ea7b80729ac150ceda authored over 5 years ago by Pengfei Wang <[email protected]>
revert rC361928: [PowerPC] [Clang] Port SSE intrinsics to PowerPC

Because test fails in other targets rather than PowerPC

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

70733d6fd1da1c4ef329a9526cf8686a0729e318 authored over 5 years ago by Zi Xuan Wu <[email protected]>
[PowerPC] [Clang] Port SSE intrinsics to PowerPC

Port xmmintrin.h which include Intel SSE intrinsics implementation to PowerPC platform (using Al...

4f36ab6061601fcb533f255dedf8e8c286f4b275 authored over 5 years ago by Zi Xuan Wu <[email protected]>
Make __has_builtin work with __builtin_LINE and friends.

The source location builtins are implemented as keywords, but
__has_builtin should still report ...

86873839af7530176e3a062ecbf7edf74048922c authored over 5 years ago by Eric Fiselier <[email protected]>
Fix failure of lit test dependent-libs.cu

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

5240ba5698fc167c5f124994ec80eb1a896528fd authored over 5 years ago by Yaxun Liu <[email protected]>
Merge remote-tracking branch 'origin/swift-5.1-branch' into stable

7aad34d6065f42a0f5b13c681c5bbe145720541f authored over 5 years ago by swift_jenkins <[email protected]>
[Driver] Search the toolchain dir with -print-file-name

This is useful when looking for directories or files relative to the
toolchain root, e.g. includ...

5842cf258e968526ac9847424413775771fef1be authored over 5 years ago by Petr Hosek <[email protected]>
[X86] Fix the Sema checks for getmant builtins to only allow 4 and 8 for rounding immediates.

These don't support embedded rounding so we shouldn't be setting HasRC. That way we only
allow c...

601d56c9e03b01b8646d82af4245775571a39ad9 authored over 5 years ago by Craig Topper <[email protected]>
Fix r361893 to also update a recently-added test.

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

d94ab6756afdddb44ae1c164eb1b23b547e3356f authored over 5 years ago by Richard Smith <[email protected]>
Defer creating fields for captures until we finish building the

capturing expression or statement.

No functionality change yet. The intent is that we will also ...

120851d42c6bb4abd5c8b13de6e498216478610d authored over 5 years ago by Richard Smith <[email protected]>
Simplify clang::Capture. No functionality change intended.

We don't need to pack flags into the bottom bits of pointers here; we
have plenty of trailing bi...

a2b584af8864e3cb3bbce11cd50d682559cda7ff authored over 5 years ago by Richard Smith <[email protected]>
If capturing a variable fails, add a capture anyway (and mark it

invalid) so that we can avoid repeated diagnostics for the same capture.

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

8465d5be63dbbd4ddb6adbab087b2a532bdc9e2b authored over 5 years ago by Richard Smith <[email protected]>