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

Move code to mark a variable as odr-used adjacement to all the related

code.

No functional change intended.

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

2ee14504678565a83ad74c0e85f8cb58abb9ffe3 authored over 5 years ago by Richard Smith <[email protected]>
[Preprocessor] Fix crash emitting note with framework location for "file not found" error.

A filename can be remapped with a header map to point to a framework
header and we can find the ...

ab4fa5073c8c2cfdeb5916eb470408caeb95f738 authored over 5 years ago by Volodymyr Sapsai <[email protected]>
[Driver] Fix -working-directory issues

Currently the `-working-directory` option does not actually impact the working
directory for all...

1d6f4f1664c3a334f31d0546014a11a1f25385a7 authored over 5 years ago by Michael J. Spencer <[email protected]>
[CUDA][HIP] Emit dependent libs for host only

Recently D60274 was introduced to allow lld to handle dependent libs. However current
usage of d...

b02a79e8d08f9feeba075e41162adf1566f0cbbc authored over 5 years ago by Yaxun Liu <[email protected]>
[clang] Handle lrint/llrint builtins

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

1580041963802152a3548dc06305921082bdd9d7 authored over 5 years ago by Adhemerval Zanella <[email protected]>
[OpenMP] Set pragma start loc to `#pragma` loc

This patch adjusts `PragmaOpenMPHandler` to set the location of
`tok::annot_pragma_openmp` to th...

e65339ec6fd5b33cb0ce0b0a7187f522d19e9dae authored over 5 years ago by Joel E. Denny <[email protected]>
Driver: support `/Zc:char8_t` and `/Zc:char8_t-`

Update the `cl` emulation to support the `/Zc:char8_t[-]?` options as per the
MSVC 2019.1 toolse...

d92c93a0dc7340bdac89687926443653269b3864 authored over 5 years ago by Saleem Abdulrasool <[email protected]>
[ARM] Replace fp-only-sp and d16 with fp64 and d32.

Those two subtarget features were awkward because their semantics are
reversed: each one indicat...

173708d165c6145075ef941e6953f2c1c1167544 authored over 5 years ago by Simon Tatham <[email protected]>
[CodeComplete] Set preferred type for qualified-id

Reviewers: kadircet

Reviewed By: kadircet

Subscribers: cfe-commits

Tags: #clang

Differential...

adbb459ee00ba8b946135bf445109dd34b81d614 authored over 5 years ago by Ilya Biryukov <[email protected]>
[CodeComplete] Consistently break after '{' in multi-line patterns

Summary:
Completion can return multi-line patterns in some cases, e.g.

for (<#init#>; <#con...

ff610072dd570df36ae435896f74b1015f10e29b authored over 5 years ago by Ilya Biryukov <[email protected]>
Add release note entries for recent typo correction changes

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

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

7104903887e3425f0542e61bf803a2214691941b authored over 5 years ago by Nico Weber <[email protected]>
[Analyzer] Replace `CXXSelfAssignmentBRVisitor` with `NoteTags`

The `cplusplus.SelfAssignment` checker has a visitor that is added
to every `BugReport` to mark ...

0bdda4905c53530ef8c1c66af7cf20b534cf20f3 authored over 5 years ago by Adam Balogh <[email protected]>
Re-commit r357452 (take 2): "SimplifyCFG SinkCommonCodeFromPredecessors: Also sink function calls without used results (PR41259)"

This was reverted in r360086 as it was supected of causing mysterious test
failures internally. ...

4e88d5da2df1a93f4971d459e1c52b7b98b21a92 authored over 5 years ago by Hans Wennborg <[email protected]>
Revert [test] Fix plugin tests

This reverts r361790 (git commit fe5eaab2b5b4523886bd63aebcfea8cfce586fa1)

It's causing buildbo...

4ec0ef8a5ee1fd59b62a13d9d1c6b7cd29611ca5 authored over 5 years ago by Don Hinton <[email protected]>
Propagating prior merge from 'llvm.org/master'.

250c4579054beb36be69febd37b8d62f416e2036 authored over 5 years ago by Automerger <Automerger@Swift>
[test] Fix plugin tests

Summary:
The following changes were required to fix these tests:

1) Change LLVM_ENABLE_PLUGINS ...

3d55536c10a9c576f287aa28feda66e65374527c authored over 5 years ago by Don Hinton <[email protected]>
[Driver] Change layout of per-target runtimes to resemble multiarch

This is a follow up to r361432, changing the layout of per-target
runtimes to more closely resem...

cd1a1e62e2684a985f8e6ebcc40b67e5e7467a93 authored over 5 years ago by Petr Hosek <[email protected]>
[Preprocessor] Fix crash emitting note with framework location for "file not found" error.

A filename can be remapped with a header map to point to a framework
header and we can find the ...

b84e04d4c031c8ff9a1a6875381f4a34b923cad7 authored over 5 years ago by Volodymyr Sapsai <[email protected]>
[clang] Respect TerseOutput when printing lambdas

Reviewers: ilya-biryukov, hokein, sammccall

Subscribers: cfe-commits

Tags: #clang

Differentia...

3098b618c7d10cd82cfe977b53a76df8b822266b authored over 5 years ago by Kadir Cetinkaya <[email protected]>
When dumping the AST to JSON, dump the type information from a typeid expression with a type operand.

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

dfbf171da410f5fb59a20bb37c9efd11f507b3e2 authored over 5 years ago by Aaron Ballman <[email protected]>
When dumping the AST to JSON, dump whether a function is variadic or not.

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

ca064d85f1099f8141fc4c85be139571ad3b1c06 authored over 5 years ago by Aaron Ballman <[email protected]>
When dumping the AST to JSON, dump the declared name of a MemberExpr operand.

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

1b50f14e080d6ba12815e379b1ec18fbf991dfc4 authored over 5 years ago by Aaron Ballman <[email protected]>
When dumping the AST to JSON, dump the argument name to a sizeof pack expression.

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

d735a572ccba3602067230d4c7b2f141dace72a0 authored over 5 years ago by Aaron Ballman <[email protected]>
Add test cases for dumping AST expression nodes to JSON; NFC.

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

5d49854a98fa2c929430c17207e290039be70e22 authored over 5 years ago by Aaron Ballman <[email protected]>
[OpenCL] Fix file-scope const sampler variable for 2.0

OpenCL spec v2.0 s6.13.14:

Samplers can also be declared as global constants in the program
sou...

ee93b01e3b44ae0130a6b31dce0f23d22a4249e2 authored over 5 years ago by Yaxun Liu <[email protected]>
[CodeComplete] Complete 'return true/false' in boolean functions

Reviewers: kadircet

Reviewed By: kadircet

Subscribers: cfe-commits

Tags: #clang

Differential...

1078bd6094be2470fb7eb4f60ca47e0206f88ab5 authored over 5 years ago by Ilya Biryukov <[email protected]>
Propagating prior merge from 'llvm.org/master'.

b745f900ffbe4b0e6289523572eaef61171c923a authored over 5 years ago by Automerger <Automerger@Swift>
[ASTImporter] Added visibility context check for CXXRecordDecl.

Summary:
ASTImporter makes now difference between classes with same name in different
translatio...

6c41f8d5a6018d25b91fa0420c4325b0d85f0743 authored over 5 years ago by Balazs Keri <[email protected]>
[Driver][RISCV] Simplify. NFC

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

6fddf7789c74ae74d695dd571024915ad319db1b authored over 5 years ago by Fangrui Song <[email protected]>
[Driver] Update handling of c++ and runtime directories

This is a follow up to r361432 and r361504 which addresses issues
introduced by those changes. S...

10299eac40b659e3829b33a24a451f0bde5f3793 authored over 5 years ago by Petr Hosek <[email protected]>
Add missing newline at end of file

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

5a18a355edce3e687460b0fde3b5dbf48136d69c authored over 5 years ago by Duncan P. N. Exon Smith <[email protected]>
Merge remote-tracking branch 'llvm.org/master' into upstream-with-swift

Conflicts:
tools/clang-refactor/CMakeLists.txt
tools/clang-rename/CMakeLists.txt
unittests/R...

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

2a360740a35b97d3c6e779ce3e7ed1d00d7af2b3 authored over 5 years ago by swift_jenkins <[email protected]>
Permit static local structured bindings to be named from arbitrary scopes inside their declaring scope.

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

962d736d3cb56511d5f2f0d6a0444115694b395f authored over 5 years ago by Richard Smith <[email protected]>
Revert "[Analysis] Link library dependencies to Analysis plugins"

This reverts commit r361340. The following builder has been broken for
the past few days because...

7628a031ad1d4fe42699e851a911b465c7c47ef0 authored over 5 years ago by Akira Hatanaka <[email protected]>
Rename clangToolingRefactor to clangToolingRefactoring for consistency with its directory

See "[cfe-dev] The name of clang/lib/Tooling/Refactoring".

Differential Revision: https://revie...

3f3b55a0a602030a4f9a0b587d8ba4022efd0650 authored over 5 years ago by Nico Weber <[email protected]>
[analyzer] Add a prunable note for skipping vbase inits in subclasses.

When initialization of virtual base classes is skipped, we now tell the user
about it, because t...

f0a581288ca88a95df6b090a740154f204a8aec7 authored over 5 years ago by Artem Dergachev <[email protected]>
[CFG] Add branch to skip vbase inits when they're handled by superclass.

This patch adds the run-time CFG branch that would skip initialization of
virtual base classes d...

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

8b3dc0ae62dcc6f01b281a415af991a8c2df2c44 authored over 5 years ago by Automerger <Automerger@Swift>
Fix crash deserializing a CUDAKernelCallExpr with a +Asserts binary.

The assertion in setConfig read from the (uninitialized) CONFIG
expression.

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

b6c8a1bb5f92d3b82365c19fbb8f8feda36bb446 authored over 5 years ago by Richard Smith <[email protected]>
Merge pull request #325 from shafik/50739917_SearchName_fix_HandleNameConflict_in_VisitRecordDecl

[ASTImporter] Call to HandleNameConflict in VisitRecordDecl mistakeningly using Name instead of ...

cda703cdf9e6ad5f38327e064e03ca4b8671ee02 authored over 5 years ago by shafik <[email protected]>
Mark tests as x86.

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

900624ef605b60c613342dac071228539a402ce9 authored over 5 years ago by Alina Sbirlea <[email protected]>
Default arguments are potentially constant evaluated.

We need to eagerly instantiate constexpr functions used in them even if
the default argument is ...

185c08b0e3619e12321d9b495fb0f6421b556914 authored over 5 years ago by Richard Smith <[email protected]>
Refactor use-marking to better match standard terminology. No

functionality change intended.

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

2d39f8519181f5cb519566172a1a51a016de11fa authored over 5 years ago by Richard Smith <[email protected]>
[ASTImporter] Call to HandleNameConflict in VisitRecordDecl mistakeningly using Name instead of SearchName

Summary:
https://reviews.llvm.org/D51633 added error handling to the ASTNodeImporter::VisitRecor...

4a1c17fd7e5ac80624bcd06901a732405cd70b4f authored over 5 years ago by Shafik Yaghmour <[email protected]>
[Analyzer] Checker for non-determinism caused by iteration of unordered container of pointers

Summary: Added a checker for non-determinism caused by iterating unordered containers like std::...

6d0f28c0841eecb958449aad72ab87bbf406b95e authored over 5 years ago by Mandeep Singh Grang <[email protected]>
[cmake] Remove old unused version of FindZ3.cmake from clang [NFC]

Summary: This file was moved to llvm in D54978, r356929, but the old
file was never removed.

Re...

afa4c645e14ff0a0c68d3072d45a3df2ca0b46ed authored over 5 years ago by Don Hinton <[email protected]>
Adding an explicit triple to this test to appease build bots.

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

7664442bfe2e15ffe0b68e78c43183399d9a5e76 authored over 5 years ago by Aaron Ballman <[email protected]>
Add JSON dumping tests for ObjC statements; add support for dumping @catch catch-all statements.

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

be697a650a677e687ccf5869453a77802af0c88c authored over 5 years ago by Aaron Ballman <[email protected]>
[OpenMP] Add test for requires and unified shared memory clause with declare target link

Summary:
This patch adds a test for requires with unified share memory clause when a declare tar...

ac22e58a4100885a4e716e7f3d6a2186481cc536 authored over 5 years ago by Gheorghe-Teodor Bercea <[email protected]>
[NewPassManager] Add tuning option: LoopUnrolling [clang-change]

Summary:
Use CodeGenOpts's setting for loop unrolling.
[to be coupled with D61618]

Reviewers: c...

e64402733cde0c4f5a60423775fd95457b01def7 authored over 5 years ago by Alina Sbirlea <[email protected]>
Add support for dumping Objective C AST declaration nodes to JSON.

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

e10447666ec9d06d79754bb5309aac6389ccb002 authored over 5 years ago by Aaron Ballman <[email protected]>
[WebAssembly] Use "linker" as linker shortname.

This is in line with other platforms.

Also, move the single statement methods into the header (...

6670e002d24e7ccba9caae55c94325c06f1dadc7 authored over 5 years ago by Sam Clegg <[email protected]>
[ASTImporter] Call to HandleNameConflict in VisitRecordDecl mistakeningly using Name instead of SearchName

Summary:
https://reviews.llvm.org/D51633 added error handling to the ASTNodeImporter::VisitRecor...

424619da5abb9750e772e8ea8e15e9548c47d08c authored over 5 years ago by Shafik Yaghmour <[email protected]>
[CodeComplete] Add whitespace around braces in lambda completions

This produces nicer output.
Trivial follow-up to r361461, so sending without review.

git-svn-id...

ee34ee5940da5de0b8f5563a9043ebdc172a1a06 authored over 5 years ago by Ilya Biryukov <[email protected]>
[LibTooling] Add Explanation parameter to `makeRule`.

Summary:
Conceptually, a single-case RewriteRule has a matcher, edit(s) and an (optional)
explan...

cc107a020478dc6515625755b3332d9ac2c261ef authored over 5 years ago by Yitzhak Mandelbaum <[email protected]>
[OpenCL] Add support for the cl_arm_integer_dot_product extensions

The specification is available in the Khronos OpenCL registry:

https://www.khronos.org/registry...

c76fe398e2fffb71b6bfb618e74083d36b9eab3f authored over 5 years ago by Kevin Petit <[email protected]>
[CodeComplete] Filter override completions by function name

Summary:
We put only part of the signature starting with a function name into "typed text"
chunk...

b9f01a14a9a0bd15b374aff77d746da261c158d9 authored over 5 years ago by Ilya Biryukov <[email protected]>
Do not resolve directory junctions for `-fdiagnostics-absolute-paths` on Windows.

If the source file path contains directory junctions, and we resolve them when
printing diagnost...

6e38ac04985f360b394f575a820b9966bc76b696 authored over 5 years ago by Igor Kudrin <[email protected]>
Propagating prior merge from 'llvm.org/master'.

b421a31c00a226343f62365a58b2c1d8ca1c3f4a authored over 5 years ago by Automerger <Automerger@Swift>
[analyzer] NFC: Prevent multi-file plist test from spamming up the build folder.

It was producing an HTML report with a random name on every tests run
and never cleaned those up...

7ac5283327129c6469396c4b3f0b4175737e3f7e authored over 5 years ago by Artem Dergachev <[email protected]>
Factor out repeated code to build 'this' expressions and mark them

referenced.

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

ef7787eca570ab5e50551fcfe22f6368927d7a5a authored over 5 years ago by Richard Smith <[email protected]>
[CFG] NFC: Modernize a test file for constructor initializer CFGs.

Move FileCheck directives around so that it was easy to understand
what tests what and what effe...

9ff01fd50431269d0f6c0df3347e4a902d0fcf00 authored over 5 years ago by Artem Dergachev <[email protected]>
[CFG] NFC: Remove implicit conversion from CFGTerminator to Stmt *.

Turn it into a variant class instead. This conversion does indeed save some code
but there's a p...

d8b8672fabf07662fce1dae7f0d94f7b91541838 authored over 5 years ago by Artem Dergachev <[email protected]>
Fix hang during constant evaluation of union assignment.

HandleUnionActiveMemberChange forgot to walk over a nop implicit
conversion node and got stuck i...

a3332061d757fadd75dbd2402d7e23d6cf6f901e authored over 5 years ago by Eric Fiselier <[email protected]>
[analyzer] List checker/plugin options in 3 categories: released, alpha, developer

Same patch as D62093, but for checker/plugin options, the only
difference being that options for...

3b240f939feefd3897b1f93c2919717f4f9a6a25 authored over 5 years ago by Kristof Umann <[email protected]>
[OPENMP]Do not crash for const firstprivates.

If the variable is a firstprivate variable and it was not emitted beause
this a constant variabl...

84a84885cd7fe255973f6ca01bfd7852f9e214dd authored over 5 years ago by Alexey Bataev <[email protected]>
Use clang_cc1 instead of clang in CodeGen test.

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

3a70b6af7190906fa822ed08e2d137cc4293e82b authored over 5 years ago by Alina Sbirlea <[email protected]>
[analyzer] Hide developer-only checker/package options by default

These options are now only visible under
-analyzer-checker-option-help-developer.

Differential ...

e9bb934200794a73b20a28a5761031d7aefbbbb2 authored over 5 years ago by Kristof Umann <[email protected]>
[analyzer] List checkers in 3 categories: released, alpha, developer

Previously, the only way to display the list of available checkers was
to invoke the analyzer wi...

eb1a2354d805e932fc261929406a2a191c3464df authored over 5 years ago by Kristof Umann <[email protected]>
[X86] Split multi-line chained assignments into single lines to avoid making clang-format create triangle shaped indentation. Simplify one if statement to remove a bunch of string matches. NFCI

We had an if statement that checked over every avx512* feature to see if it should enabled avx51...

2cee20d7778a10ab46f8c2a795023e8696030425 authored over 5 years ago by Craig Topper <[email protected]>
[analyzer] Add a new frontend flag to display all checker options

Add the new frontend flag -analyzer-checker-option-help to display all
checker/package options.
...

387516af1140bd971481cae3ae8d2dc0dbe394d0 authored over 5 years ago by Kristof Umann <[email protected]>
Update breaking test.

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

f52da25213be0f2021f4806ec55d7e7cb7a2ed91 authored over 5 years ago by Alina Sbirlea <[email protected]>
Merge remote-tracking branch 'llvmorg/master' into upstream-with-swift

Conflicts:
unittests/Tooling/CMakeLists.txt

a68f58bb48de02a1a244202e209a453bdb3598a9 authored over 5 years ago by Azharuddin Mohammed <[email protected]>
Fix unresolved symbols when linking tools/clang/unittests/Tooling/ToolingTests

Summary: Add correct cmake dependencies so that `ToolingTests` link
successfully.

Patch by Guan...

d42aefdc83b5e9a8c02b15af254eaa72edafff31 authored over 5 years ago by Thomas Lively <[email protected]>
[NewPassManager] Add tuning option: SLPVectorization [clang-change]

Summary:
NewPassManager is not using CodeGenOpts values before this patch.
[to be coupled with D...

e8290cf58c24c74e2793fac13e0b3dee2d1ada7c authored over 5 years ago by Alina Sbirlea <[email protected]>
Propagating prior merge from 'llvm.org/master'.

bca929bd87472ec60bc3ca7f295ced688cea7372 authored over 5 years ago by Automerger <Automerger@Swift>
[Driver] Move the "-o OUT -x TYPE SRC.c" flags to the end of -cc1

New -cc1 arguments, such as -faddrsig, have started appearing after the
input name. I personally...

b16a80b4cf0c2661020e5a59a75960c5b99d2087 authored over 5 years ago by Reid Kleckner <[email protected]>
[OPENMP]Simplify codegen for the outlined regions.

Simplified codegen for the outlined regions, excluding duplication code
for handling variables w...

598be1e828f39d6814b437a99b9426e56ba06386 authored over 5 years ago by Alexey Bataev <[email protected]>
lld-link, clang: Treat non-existent input files as possible spellos for option flags

OptTable treats arguments starting with / that aren't a known option
as filenames. This means ll...

a663efb444b6006ea3832063f5daacede5f9f888 authored over 5 years ago by Nico Weber <[email protected]>
[WebAssembly] Add multivalue and tail-call target features

Summary:
These features will both be implemented soon, so I thought I would
save time by adding ...

5d63c8b6bdf9b8e8620e69cd0eebdc33a621cfb2 authored over 5 years ago by Thomas Lively <[email protected]>
[LibTooling] Fix dangling references in RangeSelector.

Summary:
RangeSelector had a number of cases of capturing a StringRef in a lambda, which
lead to...

33b8ef199182819269df7b4045983d30f86cf1ea authored over 5 years ago by Yitzhak Mandelbaum <[email protected]>
[Index] Fix reported references in presence of template type aliases

Summary: See the added test for an example.

Reviewers: kadircet

Reviewed By: kadircet

Subscri...

51db2e5c4b635698f0ec7aa9fd578e9d4510382d authored over 5 years ago by Ilya Biryukov <[email protected]>
[CodeComplete] Only show lambda completions if patterns are requested

This is a trivial follow-up to r361461, so sending without review.

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

ec22f9ea9a1a64cf7329746b7a5def6dd4a55c45 authored over 5 years ago by Ilya Biryukov <[email protected]>
Ensure builtins use the target default Calling Convention

r355317 changed builtins/allocation functions to use the default calling
convention in order to ...

dd43cfced871556930bf258c325bc29e88ca932c authored over 5 years ago by Erich Keane <[email protected]>
[analyzer][NFC] Prettify some RUN: lines in test files.

This is a test commit in disguise.

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

7ed9c794b8e647aa3bb18f5f035e355a9a9d0155 authored over 5 years ago by Kristof Umann <[email protected]>
[Driver] Try normalized triple when looking for C++ libraries

This addresses the issue introduced in r361432 where we would only
try effective triple but not ...

2ef841e7e94cf115b847560684a8b4d5892bea5d authored over 5 years ago by Petr Hosek <[email protected]>
Work around a Visual C++ bug.

Using a static function as a template parameter gets a bogus compile-time
error with Visual Stud...

3f600639dc75bae8f66acee3135d93aae8d36993 authored over 5 years ago by Paul Robinson <[email protected]>
Delete default constructors, copy constructors, move constructors, copy assignment, move assignment operators on Expr, Stmt and Decl

Reviewers: ilya-biryukov, rsmith

Subscribers: cfe-commits

Tags: #clang

Differential Revision:...

50daf71e99bcbf980f7a4ac067f868cafc7cca67 authored over 5 years ago by Dmitri Gribenko <[email protected]>
Propagating prior merge from 'llvm.org/master'.

18a699fdfbc1a7b544653b0f5c968fa7173286c1 authored over 5 years ago by Automerger <Automerger@Swift>
Enable queue_t and clk_event_t comparisons in C++ mode

Support queue_t and clk_event_t comparisons in C++ for OpenCL mode, to
preserve backwards compat...

0ff106e556737dbad8c7396bbce76df32feb4b76 authored over 5 years ago by Sven van Haastregt <[email protected]>
[CodeComplete] Complete a lambda when preferred type is a function

Summary: Uses a heuristic to detect std::function and friends.

Reviewers: kadircet

Reviewed By...

37d9edc0c5cfeae8b2e7dac173129ae6ab2c9429 authored over 5 years ago by Ilya Biryukov <[email protected]>
[CMake][Fuchsia] Use cannonical triples for runtimes

This ensures that whether the user uses short or cannonical version
of the triple, Clang will st...

dd1ae44165e7d8263f3758fc00d654fd3edc1673 authored over 5 years ago by Petr Hosek <[email protected]>
Fix r361428 for Windows buildbots/mangling

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

17a18e2cfb860957b51923f1e5f01287f871653d authored over 5 years ago by David Blaikie <[email protected]>
Fix new enum-codegen.cpp test

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

860695c0c3187b896b48bba645981e7ed1374c43 authored over 5 years ago by Reid Kleckner <[email protected]>
Add some notes on immutability and faithfulness to the internals manual.

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

2ade82f43773792762687d10549a5af39ee72ec4 authored over 5 years ago by Richard Smith <[email protected]>
[runtimes] Move libunwind, libc++abi and libc++ to lib/$target/c++ and include/c++

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

5f36acd30139445f7cf4920d6efc288c4bf0d566 authored over 5 years ago by Petr Hosek <[email protected]>
Add back --sysroot support for darwin header search.

Before e97b5f5cf37e ([clang][Darwin] Refactor header search path logic
into the driver), both --...

ef51dce2c7d014cfe77ad7266f093ccc1b544332 authored over 5 years ago by James Y Knight <[email protected]>
Modules: Code generation of enum constants for merged enum definitions

Found in a bootstrap of LLVM with implicit modules, resulting in a
deadlock of some Orc unit tes...

61b8983b25a23d927f263c7ad528b32c7a2d6bed authored over 5 years ago by David Blaikie <[email protected]>
Part of P1091R3: permit structured bindings to be declared 'static' and

'thread_local' in C++20.

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

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