[clang] 0b9922e - [CodeGen] Emit IR for fixed-point multiplication and division.

2020-04-08 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-04-08T14:33:04+02:00 New Revision: 0b9922e67a0b5520d76c293e9aef13a7ad4f3a8d URL: https://github.com/llvm/llvm-project/commit/0b9922e67a0b5520d76c293e9aef13a7ad4f3a8d DIFF: https://github.com/llvm/llvm-project/commit/0b9922e67a0b5520d76c293e9aef13a7ad4f3a8d.diff

[clang] d5d0d8e - [AST] Compress the FixedPointSemantics type better.

2020-04-08 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-04-08T14:33:04+02:00 New Revision: d5d0d8eb7d094f8270721662882c0094fc4fdc29 URL: https://github.com/llvm/llvm-project/commit/d5d0d8eb7d094f8270721662882c0094fc4fdc29 DIFF: https://github.com/llvm/llvm-project/commit/d5d0d8eb7d094f8270721662882c0094fc4fdc29.diff

[clang] 39baaab - [CodeGen] Emit IR for fixed-point unary operators.

2020-04-08 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-04-08T14:33:04+02:00 New Revision: 39baaabf6de4cfcbb942434084298a3f9acf5f89 URL: https://github.com/llvm/llvm-project/commit/39baaabf6de4cfcbb942434084298a3f9acf5f89 DIFF: https://github.com/llvm/llvm-project/commit/39baaabf6de4cfcbb942434084298a3f9acf5f89.diff

[clang] 313461f - [CodeGen] Emit IR for compound assignment with fixed-point operands.

2020-04-08 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-04-08T14:33:04+02:00 New Revision: 313461f6d8f91ac8abf2fa06e17b92127b050f06 URL: https://github.com/llvm/llvm-project/commit/313461f6d8f91ac8abf2fa06e17b92127b050f06 DIFF: https://github.com/llvm/llvm-project/commit/313461f6d8f91ac8abf2fa06e17b92127b050f06.diff

[clang] e4ca64f - [Fixed Point] Add triples to test cases.

2020-04-08 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-04-08T16:31:36+02:00 New Revision: e4ca64f1ae8a3743a9bea4926e1e7889c5b02525 URL: https://github.com/llvm/llvm-project/commit/e4ca64f1ae8a3743a9bea4926e1e7889c5b02525 DIFF: https://github.com/llvm/llvm-project/commit/e4ca64f1ae8a3743a9bea4926e1e7889c5b02525.diff

[clang] bd50cf9 - Fix indentation in FixedPoint.h. NFC.

2020-07-06 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-07-06T10:57:21+02:00 New Revision: bd50cf905fa7c0c7caa134301c6ca0658c81eeb1 URL: https://github.com/llvm/llvm-project/commit/bd50cf905fa7c0c7caa134301c6ca0658c81eeb1 DIFF: https://github.com/llvm/llvm-project/commit/bd50cf905fa7c0c7caa134301c6ca0658c81eeb1.diff

[clang] 94e8ec6 - [AST] Add fixed-point division constant evaluation.

2020-06-26 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-06-26T13:38:11+02:00 New Revision: 94e8ec631dda98639930c3fcf6b84148cd58cd59 URL: https://github.com/llvm/llvm-project/commit/94e8ec631dda98639930c3fcf6b84148cd58cd59 DIFF: https://github.com/llvm/llvm-project/commit/94e8ec631dda98639930c3fcf6b84148cd58cd59.diff

[clang] da2f852 - [AST] Fix certain consteval assignment and comma operator issues with fixed-point types.

2020-06-26 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-06-26T13:38:11+02:00 New Revision: da2f852e1913a16a1c6940ce3d3e47158ae5ba0e URL: https://github.com/llvm/llvm-project/commit/da2f852e1913a16a1c6940ce3d3e47158ae5ba0e DIFF: https://github.com/llvm/llvm-project/commit/da2f852e1913a16a1c6940ce3d3e47158ae5ba0e.diff

[clang] 53f5c8b - [AST] Add fixed-point multiplication constant evaluation.

2020-06-26 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-06-26T13:38:11+02:00 New Revision: 53f5c8b4a14c2ef89d44062a3a045be064bdc0e7 URL: https://github.com/llvm/llvm-project/commit/53f5c8b4a14c2ef89d44062a3a045be064bdc0e7 DIFF: https://github.com/llvm/llvm-project/commit/53f5c8b4a14c2ef89d44062a3a045be064bdc0e7.diff

[clang] 474177c - [AST] Improve overflow diagnostics for fixed-point constant evaluation.

2020-06-26 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-06-26T13:38:11+02:00 New Revision: 474177c05381a6eb2971e67753481b5efc78d848 URL: https://github.com/llvm/llvm-project/commit/474177c05381a6eb2971e67753481b5efc78d848 DIFF: https://github.com/llvm/llvm-project/commit/474177c05381a6eb2971e67753481b5efc78d848.diff

[clang] eccf7fc - [AST] Add fixed-point subtraction constant evaluation.

2020-06-26 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-06-26T13:38:11+02:00 New Revision: eccf7fc7b31a00823a0fe6c782ef312b3ba743c4 URL: https://github.com/llvm/llvm-project/commit/eccf7fc7b31a00823a0fe6c782ef312b3ba743c4 DIFF: https://github.com/llvm/llvm-project/commit/eccf7fc7b31a00823a0fe6c782ef312b3ba743c4.diff

[clang] fefa34f - [CodeGen] Use the common semantic for fixed-point codegen, not the result semantic.

2020-06-29 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-06-29T16:22:29+02:00 New Revision: fefa34faf551d10967cf2547003f2dd1b2efa887 URL: https://github.com/llvm/llvm-project/commit/fefa34faf551d10967cf2547003f2dd1b2efa887 DIFF: https://github.com/llvm/llvm-project/commit/fefa34faf551d10967cf2547003f2dd1b2efa887.diff

[clang] 33bae9c - [AST] Fix handling of some edge cases in fixed-point division.

2020-06-30 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-06-30T13:47:12+02:00 New Revision: 33bae9c265486cd37e0612711a863f0a4b865a26 URL: https://github.com/llvm/llvm-project/commit/33bae9c265486cd37e0612711a863f0a4b865a26 DIFF: https://github.com/llvm/llvm-project/commit/33bae9c265486cd37e0612711a863f0a4b865a26.diff

[clang] fd7a341 - [Fixed Point] Move the compassign LHS type correction a bit further down. NFCI.

2020-04-17 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-04-17T10:09:02+02:00 New Revision: fd7a34186137168064ffe2ca536823559b92d939 URL: https://github.com/llvm/llvm-project/commit/fd7a34186137168064ffe2ca536823559b92d939 DIFF: https://github.com/llvm/llvm-project/commit/fd7a34186137168064ffe2ca536823559b92d939.diff

[clang] aa0d19a - [Fixed Point] Add fixed-point shift operations and consteval.

2020-08-07 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-08-07T15:09:24+02:00 New Revision: aa0d19a0c8f5ebccb5768411dfc4feddff7bed08 URL: https://github.com/llvm/llvm-project/commit/aa0d19a0c8f5ebccb5768411dfc4feddff7bed08 DIFF: https://github.com/llvm/llvm-project/commit/aa0d19a0c8f5ebccb5768411dfc4feddff7bed08.diff

[clang] 956582a - [Sema] Iteratively strip sugar when removing address spaces.

2020-08-11 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-08-11T17:26:19+02:00 New Revision: 956582aa165804dd8335879c3a7f833901e5424c URL: https://github.com/llvm/llvm-project/commit/956582aa165804dd8335879c3a7f833901e5424c DIFF: https://github.com/llvm/llvm-project/commit/956582aa165804dd8335879c3a7f833901e5424c.diff

[clang] d4408fe - [clang] Do not crash for unsupported fixed point to floating point conversion

2020-08-11 Thread Bevin Hansson via cfe-commits
Author: Gousemoodhin Nadaf Date: 2020-08-11T17:26:19+02:00 New Revision: d4408fe17f33bcd664ec8f468abfd1094e84a7c1 URL: https://github.com/llvm/llvm-project/commit/d4408fe17f33bcd664ec8f468abfd1094e84a7c1 DIFF: https://github.com/llvm/llvm-project/commit/d4408fe17f33bcd664ec8f468abfd1094e84a7c1.

[clang] [Clang][C++26] Implement Pack Indexing (P2662R3). (PR #72644)

2024-02-02 Thread Bevin Hansson via cfe-commits
bevin-hansson wrote: Ping. Just wondering if anyone has seen the above. @cor3ntin ? https://github.com/llvm/llvm-project/pull/72644 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [pstl] [clang] [mlir] [libcxx] [clang-tools-extra] [lld] [openmp] [lldb] [ELF] Don't resolve relocations referencing SHN_ABS to tombstone in non-SHF_ALLOC sections (PR #79238)

2024-01-24 Thread Bevin Hansson via cfe-commits
https://github.com/bevin-hansson commented: This looks good to me, but someone else should probably chime in as well to approve. https://github.com/llvm/llvm-project/pull/79238 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm

[clang] [Clang][C++26] Implement Pack Indexing (P2662R3). (PR #72644)

2024-01-29 Thread Bevin Hansson via cfe-commits
https://github.com/bevin-hansson commented: We hit some odd behavior in our downstream after this patch. https://github.com/llvm/llvm-project/pull/72644 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/list

[clang] [Clang][C++26] Implement Pack Indexing (P2662R3). (PR #72644)

2024-01-29 Thread Bevin Hansson via cfe-commits
https://github.com/bevin-hansson edited https://github.com/llvm/llvm-project/pull/72644 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][C++26] Implement Pack Indexing (P2662R3). (PR #72644)

2024-01-29 Thread Bevin Hansson via cfe-commits
@@ -4934,6 +4934,73 @@ class DependentDecltypeType : public DecltypeType, public llvm::FoldingSetNode { Expr *E); }; +class PackIndexingType final +: public Type, + public llvm::FoldingSetNode, + private llvm::TrailingObjects { + friend Tr

[clang] [Clang][C++26] Implement Pack Indexing (P2662R3). (PR #72644)

2024-01-29 Thread Bevin Hansson via cfe-commits
@@ -4934,6 +4934,73 @@ class DependentDecltypeType : public DecltypeType, public llvm::FoldingSetNode { Expr *E); }; +class PackIndexingType final +: public Type, + public llvm::FoldingSetNode, + private llvm::TrailingObjects { + friend Tr

[clang] 1e7ec48 - [AST] Get field size in chars rather than bits in RecordLayoutBuilder.

2020-08-20 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-08-20T10:29:29+02:00 New Revision: 1e7ec4842c1a8b0c686e5674e215012867938a8d URL: https://github.com/llvm/llvm-project/commit/1e7ec4842c1a8b0c686e5674e215012867938a8d DIFF: https://github.com/llvm/llvm-project/commit/1e7ec4842c1a8b0c686e5674e215012867938a8d.diff

[clang] 1a995a0 - [ADT] Move FixedPoint.h from Clang to LLVM.

2020-08-20 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-08-20T10:29:45+02:00 New Revision: 1a995a0af3c4e97c1135b6c9c3a243072ee0463c URL: https://github.com/llvm/llvm-project/commit/1a995a0af3c4e97c1135b6c9c3a243072ee0463c DIFF: https://github.com/llvm/llvm-project/commit/1a995a0af3c4e97c1135b6c9c3a243072ee0463c.diff

[clang] 2bac004 - Add triples to fixed-point tests which lacked them.

2020-08-20 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-08-20T15:36:15+02:00 New Revision: 2bac004c905dc8db99fd3766678d33aa5a0eec2b URL: https://github.com/llvm/llvm-project/commit/2bac004c905dc8db99fd3766678d33aa5a0eec2b DIFF: https://github.com/llvm/llvm-project/commit/2bac004c905dc8db99fd3766678d33aa5a0eec2b.diff

[clang] 577f8b1 - [Fixed Point] Add codegen for fixed-point shifts.

2020-08-24 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-08-24T14:37:16+02:00 New Revision: 577f8b157a03055821341146ed0617e3b103fdaf URL: https://github.com/llvm/llvm-project/commit/577f8b157a03055821341146ed0617e3b103fdaf DIFF: https://github.com/llvm/llvm-project/commit/577f8b157a03055821341146ed0617e3b103fdaf.diff

[clang] 808ac54 - [Fixed Point] Use FixedPointBuilder to codegen fixed-point IR.

2020-08-24 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-08-24T14:37:07+02:00 New Revision: 808ac54645212ddc9aba150cdc97454e36fb9521 URL: https://github.com/llvm/llvm-project/commit/808ac54645212ddc9aba150cdc97454e36fb9521 DIFF: https://github.com/llvm/llvm-project/commit/808ac54645212ddc9aba150cdc97454e36fb9521.diff

[clang] 9c26eb8 - Refactor fixed point conversion test.

2020-10-09 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-10-09T10:27:42+02:00 New Revision: 9c26eb8b915e5e20afa7d3e07996ea112c18ccc3 URL: https://github.com/llvm/llvm-project/commit/9c26eb8b915e5e20afa7d3e07996ea112c18ccc3 DIFF: https://github.com/llvm/llvm-project/commit/9c26eb8b915e5e20afa7d3e07996ea112c18ccc3.diff

[clang] 9fa7f48 - [Fixed Point] Add fixed-point to floating point cast types and consteval.

2020-10-13 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-10-13T13:26:56+02:00 New Revision: 9fa7f48459761fa13205f4c931484b0977c35746 URL: https://github.com/llvm/llvm-project/commit/9fa7f48459761fa13205f4c931484b0977c35746 DIFF: https://github.com/llvm/llvm-project/commit/9fa7f48459761fa13205f4c931484b0977c35746.diff

[clang] 101309f - [AST] Change return type of getTypeInfoInChars to a proper struct instead of std::pair.

2020-10-13 Thread Bevin Hansson via cfe-commits
Author: Bevin Hansson Date: 2020-10-13T13:26:56+02:00 New Revision: 101309fe048e66873cfd972c47c4b7e7f2b99f41 URL: https://github.com/llvm/llvm-project/commit/101309fe048e66873cfd972c47c4b7e7f2b99f41 DIFF: https://github.com/llvm/llvm-project/commit/101309fe048e66873cfd972c47c4b7e7f2b99f41.diff

[clang] [clang/AST] Make it possible to use SwiftAttr in type context (PR #108631)

2024-11-07 Thread Bevin Hansson via cfe-commits
bevin-hansson wrote: Hi @xedin! We've observed a difference downstream due to this patch and are curious whether this was intentional. It seems that the changes to how AttributedType is keyed (including the attribute) causes some type duplication when attributes are involved. For example, buil

[clang] [clang/AST] Make it possible to use SwiftAttr in type context (PR #108631)

2024-11-08 Thread Bevin Hansson via cfe-commits
bevin-hansson wrote: Well, as far as I know Attrs are created on the spot and aren't uniqued. Perhaps that should happen for these kinds of Attrs. https://github.com/llvm/llvm-project/pull/108631 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang-tools-extra] [clangd] Augment code completion results with documentation from the index. (PR #120099)

2024-12-16 Thread Bevin Hansson via cfe-commits
https://github.com/bevin-hansson created https://github.com/llvm/llvm-project/pull/120099 When looking up code completions from Sema, there is no associated documentation. This is due to crash issues with stale preambles. However, this also means that code completion results from other than the

[clang-tools-extra] [clangd] Augment code completion results with documentation from the index. (PR #120099)

2024-12-16 Thread Bevin Hansson via cfe-commits
bevin-hansson wrote: I'm not entirely sure how to add to the tests for clangd. Any advice? https://github.com/llvm/llvm-project/pull/120099 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm

[clang-tools-extra] [clangd] Augment code completion results with documentation from the index. (PR #120099)

2024-12-16 Thread Bevin Hansson via cfe-commits
https://github.com/bevin-hansson updated https://github.com/llvm/llvm-project/pull/120099 >From 16bd4a00feec97ae65a14600caf6921045d54833 Mon Sep 17 00:00:00 2001 From: Bevin Hansson Date: Mon, 16 Dec 2024 16:40:06 +0100 Subject: [PATCH 1/2] [clangd] Augment code completion results with documen

[clang-tools-extra] [clangd] Augment code completion results with documentation from the index. (PR #120099)

2024-12-16 Thread Bevin Hansson via cfe-commits
bevin-hansson wrote: > > I'm not entirely sure how to add to the tests for clangd. Any advice? > > We have GTest unit tests for code completion in `CodeCompleteTests.cpp`. > [This > test](https://searchfox.org/llvm/rev/2df48fa78b496a2d276aa848598634bb2aad6857/clang-tools-extra/clangd/unittests

[clang-tools-extra] [clangd] Augment code completion results with documentation from the index. (PR #120099)

2024-12-17 Thread Bevin Hansson via cfe-commits
https://github.com/bevin-hansson updated https://github.com/llvm/llvm-project/pull/120099 >From 16bd4a00feec97ae65a14600caf6921045d54833 Mon Sep 17 00:00:00 2001 From: Bevin Hansson Date: Mon, 16 Dec 2024 16:40:06 +0100 Subject: [PATCH 1/3] [clangd] Augment code completion results with documen

[clang-tools-extra] [clangd] Augment code completion results with documentation from the index. (PR #120099)

2024-12-20 Thread Bevin Hansson via cfe-commits
bevin-hansson wrote: I've come across an issue with this, again. This seems to work for headers I've written myself (or at least ones in my own project), but for e.g. standard library include types, it doesn't work. Something like ``` std::string a; a.^ ``` still contains no documentation i

[clang-tools-extra] [clangd] Augment code completion results with documentation from the index. (PR #120099)

2025-01-13 Thread Bevin Hansson via cfe-commits
https://github.com/bevin-hansson updated https://github.com/llvm/llvm-project/pull/120099 >From 16bd4a00feec97ae65a14600caf6921045d54833 Mon Sep 17 00:00:00 2001 From: Bevin Hansson Date: Mon, 16 Dec 2024 16:40:06 +0100 Subject: [PATCH 1/4] [clangd] Augment code completion results with documen

[clang-tools-extra] [clangd] Augment code completion results with documentation from the index. (PR #120099)

2025-01-13 Thread Bevin Hansson via cfe-commits
https://github.com/bevin-hansson updated https://github.com/llvm/llvm-project/pull/120099 >From 16bd4a00feec97ae65a14600caf6921045d54833 Mon Sep 17 00:00:00 2001 From: Bevin Hansson Date: Mon, 16 Dec 2024 16:40:06 +0100 Subject: [PATCH 1/5] [clangd] Augment code completion results with documen

[clang-tools-extra] [clangd] Augment code completion results with documentation from the index. (PR #120099)

2025-01-14 Thread Bevin Hansson via cfe-commits
bevin-hansson wrote: Thanks for merging! https://github.com/llvm/llvm-project/pull/120099 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits