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

[NFC] Fix line endings in OpenCL tests

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

648d43101559873b93fbcd6a7e92ec9e3af40b99 authored over 5 years ago by Sven van Haastregt <[email protected]>
Suppress false-positive GCC -Wreturn-type warning.

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

b675c7a1b52fa85cc54f61b070bf7e7dd5db0a71 authored over 5 years ago by Richard Smith <[email protected]>
Fix crash if, during evaluation of __builtin_object_size, we try to load

through an invalid base.

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

10820cd865c2536f542ea878558240accdd55634 authored over 5 years ago by Richard Smith <[email protected]>
Fix alignment check to check the alignment of the intended type.

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

b0bd8c98a910f309cc1a9b1dfc4d62afbd6105b7 authored over 5 years ago by Richard Smith <[email protected]>
[ClangFormat] Editor integrations inherit default style from clang-format binary

Summary:
This allows downstream customizations to the default style to work without
needing to a...

a4c9a483400dbbc38266d7290f82d7888dd6a241 authored over 5 years ago by Sam McCall <[email protected]>
Refactor constant evaluation of typeid(T) to track a symbolic type_info

object rather than tracking the originating expression.

This is groundwork for supporting polymo...

0d69c680256f145bf35a764b8db7d3f96a57b694 authored over 5 years ago by Richard Smith <[email protected]>
[Clang][Docs] Document __FILE_NAME__. NFC

Document the `__FILE_NAME__` preprocessor extension.

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

5af15bd075f9263f3bf3cf75add1d26beb9c48ad authored over 5 years ago by Kristina Brooks <[email protected]>
[Analysis] Only run plugins tests if plugins are actually enabled

When plugins aren't enabled, don't try to run plugins tests. Don't
enable plugins unconditionall...

b683b09450435719ac161de454805cbe234a872c authored over 5 years ago by Petr Hosek <[email protected]>
Revert Refactor constant evaluation of typeid(T) to track a symbolic type_info object rather than tracking the originating expression.

This reverts r360974 (git commit 7ee4307bd4450022c3c8777f43a40cc4f0ccc009)

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

2a9fb4c8c87f0a5a17fe246a3940a33954de383c authored over 5 years ago by Chris Bieneman <[email protected]>
Revert [c++20] P1327R1: Support for typeid applied to objects of polymorphic class type in constant evaluation.

This reverts r360977 (git commit f51dc8d2f98f4029247552bc45ef53628ab3b6b9)

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

1841d45330123083546cd7473475de1a95eb3a14 authored over 5 years ago by Chris Bieneman <[email protected]>
Re-land: Add Clang shared library with C++ exports

Summary:
This patch adds a libClang_shared library on *nix systems which exports the entire C++ ...

5766e93db0eba14a9a11974bbc6864dd02ebaabc authored over 5 years ago by Chris Bieneman <[email protected]>
[ELF] Implement Dependent Libraries Feature

This patch implements a limited form of autolinking primarily designed to allow
either the --dep...

84c99291713b3297f16404846d904bd6cf2ad3cd authored over 5 years ago by Ben Dunbobbin <[email protected]>
[c++20] P1327R1: Support for typeid applied to objects of polymorphic

class type in constant evaluation.

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

d0e48be6ff526d0e08de75805b67115b13abf0e7 authored over 5 years ago by Richard Smith <[email protected]>
Refactor constant evaluation of typeid(T) to track a symbolic type_info

object rather than tracking the originating expression.

This is groundwork for supporting polymo...

072c4a550c5f76bd48d5fc90d34c90abceb56561 authored over 5 years ago by Richard Smith <[email protected]>
Revert r360946 "Add Clang shared library with C++ exports"

It breaks LLVM_ENABLE_PIC=OFF builds, and it's not clear
if the object library approach doesn't ...

d7492232a628fd9741cf1e382fcba86fbb91cce7 authored over 5 years ago by Nico Weber <[email protected]>
Merge remote-tracking branch 'origin/swift-5.1-branch' into stable

6c69541c5beaa898a3f166aeaaa26114b9c27fec authored over 5 years ago by swift_jenkins <[email protected]>
Remove unneeded alignment spec from builtin_FUNCTION.cpp test

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

d229be0397da72fcb56cc7c0c3f6a5e1e84f9060 authored over 5 years ago by Eric Fiselier <[email protected]>
Fix failing source location test on Windows

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

259e47ee4d432d277bf01b567e87a9b90e32c4bf authored over 5 years ago by Eric Fiselier <[email protected]>
Add Clang shared library with C++ exports

Summary:
This patch adds a libClang_shared library on *nix systems which exports the entire C++ ...

5b9ebf3d7d072f39ed63007643c75fcc4ed5ffa7 authored over 5 years ago by Chris Bieneman <[email protected]>
Fix PCC test failures for source location builtins

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

25284eec9e11c1808306e57a76d3e2eaa90fc5af authored over 5 years ago by Eric Fiselier <[email protected]>
[analyzer] RetainCount: Fix os_returns_retained_on_zero with weird return types.

The checker was crashing when it was trying to assume a structure
to be null or non-null so that...

37a1db94372197ef1a082d9b2a2605d914709674 authored over 5 years ago by Artem Dergachev <[email protected]>
[analyzer] MIGChecker: Fix redundant semicolon.

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

6315cc945885fa90b82145002e0a5529371473a3 authored over 5 years ago by Artem Dergachev <[email protected]>
[analyzer] MIGChecker: Add support for os_ref_retain().

Suppress MIG checker false positives that occur when the programmer increments
the reference cou...

8537feed84d782c567395a6825b3d3cdc64fbcb7 authored over 5 years ago by Artem Dergachev <[email protected]>
[clang/test] Add missing dependency on llvm-cxxfilt.

This tool is needed by clang/test/CodeGen/Output/ppc-mmintrin.c.

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

4465a15bc1555c668c310f4b453dccb72a34f62e authored over 5 years ago by David L. Jones <[email protected]>
Reland "[Clang][PP] Add the __FILE_NAME__ builtin macro"

This relands commit rL360833 which caused issues on Win32
bots due to path handling/normalizatio...

87b5df04d2a1dabe15942ce6fc26a683a05465d1 authored over 5 years ago by Kristina Brooks <[email protected]>
Implement __builtin_LINE() et. al. to support source location capture.

Summary:
This patch implements the source location builtins `__builtin_LINE(), `__builtin_FUNCTI...

c786ab0af6ba5928e93d45f7a7b4d44050b94a91 authored over 5 years ago by Eric Fiselier <[email protected]>
Merge remote-tracking branch 'llvm.org/master' into upstream-with-swift

Conflicts:
lib/Sema/SemaCodeComplete.cpp

7fbfa6b6e70e088329f407ea84875a420001750d authored over 5 years ago by Alex Lorenz <[email protected]>
Merge in last-known-good-merge.

0ce73f75cce269ea7ffb6c2de085b38234394965 authored over 5 years ago by Automerger <Automerger@Swift>
[X86] Stop implicitly enabling avx512vl when avx512bf16 is enabled.

Previously we were doing this so that the 256 bit selectw builtin could be used in the implement...

197e8c7ceb8394e1f74b98c3a9024804e35531fa authored over 5 years ago by Craig Topper <[email protected]>
Merge pull request #320 from slavapestov/update-objc-class-stub-attr-doc-upstream

Update AttrDocs.td to note that adding or removing __attribute__((objc_class_stub)) breaks ABI

7cebc410d0f7db7d0ff32354564f0e40cc900c98 authored over 5 years ago by Slava Pestov <[email protected]>
Update AttrDocs.td to note that adding or removing __attribute__((objc_class_stub)) breaks ABI

2085cea32827322cc63d0a5f748411e929dd5c1b authored over 5 years ago by Slava Pestov <[email protected]>
Merge pull request #319 from slavapestov/update-objc-class-stub-attr-doc

Update AttrDocs.td to note that adding or removing __attribute__((objc_class_stub)) breaks ABI

522d949153e88953259bb083dfc99539848bf4a9 authored over 5 years ago by Slava Pestov <[email protected]>
Update comments on enums

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

8947f5cffa14f12df5842ae80258ed52a3692dfb authored over 5 years ago by Stephen Kelly <[email protected]>
Update AttrDocs.td to note that adding or removing __attribute__((objc_class_stub)) breaks ABI

b6a9b05aa3bcd2f72df7f376495f1516f38b3cbd authored over 5 years ago by Slava Pestov <[email protected]>
Move TraversalKind enum to ast_type_traits

Summary:
Make it usable outside of ASTMatchFinder. This will make it possible to
use this enum ...

1b53edbccf7fa664f341cdf83f61e17558770454 authored over 5 years ago by Stephen Kelly <[email protected]>
[X86] Update doxygen comments for AVX512BF16 to not refer to masks as 'immediates'. Refer to parameter names instead of 'src', 'src1', 'src2'. NFC

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

cf2a1996bae060ad9e08c234a4d7304fe556abc0 authored over 5 years ago by Craig Topper <[email protected]>
[CodeComplete] Complete enumerators when preferred type is an enum

Reviewers: kadircet

Reviewed By: kadircet

Subscribers: cfe-commits

Tags: #clang

Differential...

60744a8e7fc455adee29f920df5b20f57793abc7 authored over 5 years ago by Ilya Biryukov <[email protected]>
[analyzer] Add a test plugin for checker option handling

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

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

130af81e917f6a2d154eb4919565a8acceebbdde authored over 5 years ago by Kristof Umann <[email protected]>
Propagating prior merge from 'llvm.org/master'.

f3c8f920d5d90137ec9a365f3845453284906071 authored over 5 years ago by Automerger <Automerger@Swift>
ftime-trace as a CoreOption

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

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

135318869fc4ad2adc0efc955fbefe94ab6916cc authored over 5 years ago by Alexandre Ganea <[email protected]>
Add AIX Version Macros

Summary:
- This patch checks the AIX version and defines the appropriate macros.
- Follow up to ...

ba6952f1b04c392c722c927555bf2bb4908b8d0d authored over 5 years ago by Xing Xue <[email protected]>
[clang] Handle lround/llround builtins

As for other floating-point rounding builtins that can be optimized
when build with -fno-math-er...

5fc5440be86c714f9afcec76a65d69ab5b659552 authored over 5 years ago by Adhemerval Zanella <[email protected]>
Recommit [Object] Change object::SectionRef::getContents() to return Expected<StringRef>

r360876 didn't fix 2 call sites in clang.

Expected<ArrayRef<uint8_t>> may be better but use Exp...

b6c6b38192cc34367f86bb3ff150157368b19dfe authored over 5 years ago by Fangrui Song <[email protected]>
Reland "[analyzer] Add an example plugin for checker dependency handling"

Buildbots complained that they couldn't find the newly added plugins.

The solution was to move ...

2b469b71cbf579c95af77cbdd667f17965a0fb0f authored over 5 years ago by Kristof Umann <[email protected]>
Fix isInSystemMacro in presence of macro and pasted token

When a warning is raised from the expansion of a system macro that
involves pasted token, there ...

effb4994daa210879cc375c55141296e93b27534 authored over 5 years ago by Serge Guelton <[email protected]>
[builtin] Fixed definitions of builtins that rely on the int/long long type is 32/64 bits

Summary:
The definition of the builtins __builtin_bswap32, __builtin_bitreverse32, __builtin_rot...

c0478341937c33b16056e9ce28d6134afbd91693 authored over 5 years ago by Karl-Johan Karlsson <[email protected]>
Propagating prior merge from 'llvm.org/master'.

08d42a14774c6e0fc0884865fe8fffaf8e1ad82f authored over 5 years ago by Automerger <Automerger@Swift>
Revert r360833 until I can work out the issue with Win32 bots

This reverts "r360833: [Clang][PP] Add the __FILE_NAME__ builtin macro."

The tests are failing ...

bd47850349c0e8e1306e59ee780c5cff7c3b1dbc authored over 5 years ago by Kristina Brooks <[email protected]>
Fix assumption about Win32 paths in r360833

Attempt to fix Windows buildbots due to differences in
path handling (caused by r360833).

git...

c81e2857a67a56294c28f17abddb4cff9e3c8a43 authored over 5 years ago by Kristina Brooks <[email protected]>
Fix regression in r360311 caused by reversed bool arguments.

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

e8151ca3d9c9ec616c03bf96fc70716b60189b47 authored over 5 years ago by Richard Smith <[email protected]>
Merge remote-tracking branch 'origin/swift-5.1-branch' into stable

d2a266657e788642b5bd12a0c73dfcb3c0a9b53f authored over 5 years ago by swift_jenkins <[email protected]>
[Clang][PP] Add the __FILE_NAME__ builtin macro.

This patch adds the `__FILE_NAME__` macro that expands to the
last component of the path, simila...

681bb9c202501f510b5ef9eb631095b5c75a0788 authored over 5 years ago by Kristina Brooks <[email protected]>
Make tentative parsing to detect template-argument-lists less aggressive

(and less wrong).

It's not correct to assume that X<something, Type> is always a
template-id; th...

b04cabbff445e575f3e7bc9660df8247f7a7b844 authored over 5 years ago by Richard Smith <[email protected]>
[CodeGenObjC] invoke objc_autorelease, objc_retain when necessary

Any of these methods can be overridden, so we need to invoke these functions.

rdar://problem/50...

c253c968c1ccd4b21767a1b1a957dfa92b0e55da authored over 5 years ago by Erik Pilkington <[email protected]>
Cast the result of EmitCallOrInvoke to llvm::CallBase*

882b4e72e635830f8391b61c07474730eab0fe83 authored over 5 years ago by Akira Hatanaka <[email protected]>
[clang-format] Fixed self assignment

Reviewers: MyDeveloperDay, RKSimon

Reviewed By: MyDeveloperDay

Subscribers: RKSimon, cfe-commi...

4455ba48b7288f0399ff37a5038713bb9121df92 authored over 5 years ago by David Bolvansky <[email protected]>
[OpenMP][Bugfix] Move double and float versions of abs under c++ macro

Summary:
This is a fix for the reported bug:

[[ https://bugs.llvm.org/show_bug.cgi?id=41861 | 4...

5e0c1d04180d1b561dc9b6a6508cf3ef1b3fefce authored over 5 years ago by Gheorghe-Teodor Bercea <[email protected]>
[c++20] For P1327R1: support dynamic_cast in constant expression

evaluation.

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

c9cbda2fe6e655f3db9e11e56b92fcb9ed83c97e authored over 5 years ago by Richard Smith <[email protected]>
Revert "[analyzer] Add a test for plugins using checker dependencies"

Buildbots don't seem to find the new plugin.

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

ee9a99f5a05dea381ffa213e2d48cb75fdd5e294 authored over 5 years ago by Kristof Umann <[email protected]>
[OpenMP][bugfix] Fix issues with C++ 17 compilation when handling math functions

Summary: In OpenMP device offloading we must ensure that unde C++ 17, the inclusion of cstdlib w...

380ba985dc7af04efad4a774b11cb87ecf32e0ad authored over 5 years ago by Gheorghe-Teodor Bercea <[email protected]>
[CodeGenObjC] invoke objc_autorelease, objc_retain when necessary

Any of these methods can be overridden, so we need to invoke these functions.

Differential revi...

f977b591a1a0d3168beaab1b27ac023d55d683b7 authored over 5 years ago by Erik Pilkington <[email protected]>
[analyzer] Add a test for plugins using checker dependencies

Also, I moved the existing analyzer plugin to test/ as well, in order not to
give the illusion t...

cf1fe2247e68e1f3f65e79eebccfd1dde950a875 authored over 5 years ago by Kristof Umann <[email protected]>
[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...

48809e95696dff880729fae60bbeae5e7acd4248 authored over 5 years ago by Akira Hatanaka <[email protected]>
[analyzer] RetainCount: Fix os_returns_retained_on_zero with weird return types.

The checker was crashing when it was trying to assume a structure
to be null or non-null so that...

fbfd4cc0b44e4acc5036d7f1d1601e0253518d49 authored over 5 years ago by Artem Dergachev <[email protected]>
Test commit

Remove stray space.

Signed-off-by: Kevin Petit <[email protected]>

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

7da1391bdec01faee1dd5af9f3a0c6df63eff243 authored over 5 years ago by Kevin Petit <[email protected]>
[ASTImporter] Use llvm::Expected and Error in the importer API

Summary:
This is the final phase of the refactoring towards using llvm::Expected
and llvm::Error...

b211b92b8811a6f926a11912ca97291d56486d2a authored over 5 years ago by Gabor Marton <[email protected]>
[analyzer] MIGChecker: Fix redundant semicolon.

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

268b249f1d4cbc212d1853ac9821194f868eef36 authored over 5 years ago by Artem Dergachev <[email protected]>
Propagating prior merge from 'llvm.org/master'.

1da257fe5e8e32a74227dd423cecee9978dacb3e authored over 5 years ago by Automerger <Automerger@Swift>
Merge remote-tracking branch 'origin/swift-5.1-branch' into stable

9cf89d808deea5fa9076ddcd830ddf8036af2b96 authored over 5 years ago by swift_jenkins <[email protected]>
[analyzer] MIGChecker: Add support for os_ref_retain().

Suppress MIG checker false positives that occur when the programmer increments
the reference cou...

85b5a56f4ae394fa835ee8e4b1fde3ddb5edc103 authored over 5 years ago by Artem Dergachev <[email protected]>
Revert "Assume `__cxa_allocate_exception` returns an under-aligned memory on"

This reverts commit 2347fb9bd9091c2d631dd8f8bafd69aff08c0513.

We need more time before we can c...

640071f0bcf08e16ac4ce8819a48412145de1c14 authored over 5 years ago by Akira Hatanaka <[email protected]>
Revert "Remove the diagnostic added in r360404."

This reverts commit ba1b1f67c0ab39e80998570a23168516a66938fa.

65f58f1fd0a931d31ed3df22a4e2886669a36cab authored over 5 years ago by Akira Hatanaka <[email protected]>
Fix bots by adding target triple to test.

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

54aa6b556ea8c83005dbd1139c229a220471d93a authored over 5 years ago by Leonard Chan <[email protected]>
[NewPM] Port HWASan and Kernel HWASan

Port hardware assisted address sanitizer to new PM following the same guidelines as msan and tsa...

2c07cb571f9a6d046084a96046676c946725a8fe authored over 5 years ago by Leonard Chan <[email protected]>
Fix ASTMerge/namespace/test.cpp after r360701

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

f77f47729a92f6f998fc969ce46fdb8fab547d71 authored over 5 years ago by Reid Kleckner <[email protected]>
Temporarily revert "Change -gz and -Wa,--compress-debug-sections to use gABI compression (SHF_COMPRESSED)"

This affects users of older (pre 2.26) binutils in such a way that they can't necessarily
work a...

f6c9811b555c55ce8ef070931cbb6d75e964ffbf authored over 5 years ago by Eric Christopher <[email protected]>
Update ASTMerge FileCheck test expectations

I belive many of these diagnostics changed from errors to warnings in
r357394. I've simply mecha...

cba0c265700b7b0741e1c6f6c513b7d2f05c1c4f authored over 5 years ago by Reid Kleckner <[email protected]>
Restore test files accidentally deleted in r354839

I think there must be a bug in git-llvm causing parent directories to be
deleted when the diff d...

9ea2db92e4180cccb87f78b4d9a7bf0adb430097 authored over 5 years ago by Reid Kleckner <[email protected]>
[Sema] CodeSynthesisContext - add missing variable initialization to constructor. NFCI.

SavedInNonInstantiationSFINAEContext isn't used outside of specific contexts but this fixes cppc...

ce15c91f4c4912cc3ea62256557dab8dbe4de7d1 authored over 5 years ago by Simon Pilgrim <[email protected]>
[Driver][Windows] Add dependent lib argument for profile instr generate

This is needed so lld-link can find clang_rt.profile when self hosting
on Windows with PGO. Usin...

50b5d882092cfc32c3df4f69aca73f9660e9e103 authored over 5 years ago by Russell Gallop <[email protected]>
Make getObjCEncodingForTypeImpl() take a bitmask instead of 8 bools

Slightly easier to read, uses slightly less stack space, and makes it
impossible to mix up the o...

791cf13a44f9116796e1ab1f3e9ea8e8187981fe authored over 5 years ago by Nico Weber <[email protected]>
Add a new language mode for C2x; enable [[attribute]] support by default in C2x.

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

05df5fccd515030158b5fee454ee72f2777247f1 authored over 5 years ago by Aaron Ballman <[email protected]>
Revert r360637 "PR41817: Fix regression in r359260 that caused the MS compatibility"

> extension allowing a "static" declaration to follow an "extern"
> declaration to stop working....

5db60c2ca8308919348af0c96f98d87a888d8d7c authored over 5 years ago by Hans Wennborg <[email protected]>
Merge remote-tracking branch 'origin/swift-5.1-branch' into stable

2a12427eca5fe072a9b7f8344517c2bf34fdccca authored over 5 years ago by swift_jenkins <[email protected]>
PR41817: Fix regression in r359260 that caused the MS compatibility

extension allowing a "static" declaration to follow an "extern"
declaration to stop working.

git...

32a452aa77fbe921168b1ec5d498eac904d80dc7 authored over 5 years ago by Richard Smith <[email protected]>
Propagating prior merge from 'llvm.org/master'.

0106e1d2e372122bb9bf45e9f2514d8a792d4612 authored over 5 years ago by Automerger <Automerger@Swift>
[c++20] P1064R0: Allow virtual function calls in constant expression

evaluation.

This reinstates r360559, reverted in r360580, with a fix to avoid
crashing if evalua...

3413400f823bef1658c557cfb0c0a115db64be44 authored over 5 years ago by Richard Smith <[email protected]>
[AMDGPU] gfx1010 clang target

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

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

826065ea2b47b6ecbb2b735735d7793686b95dc2 authored over 5 years ago by Stanislav Mekhanoshin <[email protected]>
[X86] Make `x86intrin.h`, `immintrin.h` includable with `-fno-gnu-inline-asm`.

Currently `immintrin.h` includes `pconfigintrin.h` and `sgxintrin.h`
which contain inline assemb...

8a3369cdc081f4995fe154f21d2c5039824edfaa authored over 5 years ago by Volodymyr Sapsai <[email protected]>
Removing an unused member variable; NFC.

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

c770c8882d4f8cbcb4eca8a26f9dcaf2f6d8fa12 authored over 5 years ago by Aaron Ballman <[email protected]>
[OpenMP][Clang][BugFix] Split declares and math functions inclusion.

Summary: This patches fixes an issue in which the __clang_cuda_cmath.h header is being included ...

d6065d4875d6e09eff366ca1e6aba1dd30f66023 authored over 5 years ago by Gheorghe-Teodor Bercea <[email protected]>
Make language option `GNUAsm` discoverable with `__has_extension` macro.

This can be used for better support of `-fno-gnu-inline-asm` builds.

rdar://problem/49540880

R...

25c95dd44697929df0cd07d2a6ec799a103f01cf authored over 5 years ago by Volodymyr Sapsai <[email protected]>
Introduce the ability to dump the AST to JSON.

This adds the -ast-dump=json cc1 flag (in addition to -ast-dump=default, which is the default if...

dff959c18122df8e1df43a2f0f2835d16ac1e6dd authored over 5 years ago by Aaron Ballman <[email protected]>
Make more friendly with unions. Reviewed as https://reviews.llvm.org/D61858

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

2d96fcd91c5a9cbd7da8c2118611a7dcf97f1b72 authored over 5 years ago by Marshall Clow <[email protected]>
Remove the diagnostic added in r360404.

ba1b1f67c0ab39e80998570a23168516a66938fa authored over 5 years ago by Akira Hatanaka <[email protected]>
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...

2347fb9bd9091c2d631dd8f8bafd69aff08c0513 authored over 5 years ago by Akira Hatanaka <[email protected]>
[clang][ASTContext] Call setAttached for comments attached to a declaration

This is a bug affecting performance when compiling with -Wdocumentation.

In Sema::ActOnDocument...

31f09da997ff53574df752319dcd14b935677148 authored over 5 years ago by Jan Korous <[email protected]>
Revert r360559 "[c++20] P1064R0: Allow virtual function calls in constant expression evaluation."

This caused Chromium builds to hit the new "can't handle virtual calls with
virtual bases" asser...

24e6d2a7b6f041a6df9e61cf9cecfc15c1f7ccac authored over 5 years ago by Hans Wennborg <[email protected]>
[ASTImporter] Separate unittest files

Summary:
Move generic redecl chain tests and visibility tests into their own
separate test files...

f585a602f52c5f1c02c0c39400a2ca273e3a51b1 authored over 5 years ago by Gabor Marton <[email protected]>
Propagating prior merge from 'llvm.org/master'.

5bf2937a4649ff08d20cd7f6f7f78a486ffa74d3 authored over 5 years ago by Automerger <Automerger@Swift>