[clang] Implement [[msvc::no_unique_address]] (PR #65675)

2023-09-12 Thread Christopher Di Bella via cfe-commits
https://github.com/cjdb edited https://github.com/llvm/llvm-project/pull/65675 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Implement [[msvc::no_unique_address]] (PR #65675)

2023-09-12 Thread Christopher Di Bella via cfe-commits
@@ -2999,17 +3139,17 @@ void MicrosoftRecordLayoutBuilder::layoutBitField(const FieldDecl *FD) { auto NewSize = Context.toCharUnitsFromBits( llvm::alignDown(FieldBitOffset, Context.toBits(Info.Alignment)) + Context.toBits(Info.Size)); -Size = std::max(S

[clang] Implement [[msvc::no_unique_address]] (PR #65675)

2023-09-12 Thread Christopher Di Bella via cfe-commits
https://github.com/cjdb requested changes to this pull request. https://github.com/llvm/llvm-project/pull/65675 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 8f3b0b4 - [clang] adds `__reference_constructs_from_temporary`

2023-09-13 Thread Christopher Di Bella via cfe-commits
Author: Christopher Di Bella Date: 2023-09-13T23:51:43Z New Revision: 8f3b0b4171431ced5550d5c8a70d1b683343f062 URL: https://github.com/llvm/llvm-project/commit/8f3b0b4171431ced5550d5c8a70d1b683343f062 DIFF: https://github.com/llvm/llvm-project/commit/8f3b0b4171431ced5550d5c8a70d1b683343f062.dif

[clang] eb3f788 - [clang-tblgen][NFC] renames Diagnostic.Text to Diagnostic.Summary

2022-11-20 Thread Christopher Di Bella via cfe-commits
Author: Christopher Di Bella Date: 2022-11-21T03:44:37Z New Revision: eb3f7880a272b818940e2bd2510ae04b0e32873f URL: https://github.com/llvm/llvm-project/commit/eb3f7880a272b818940e2bd2510ae04b0e32873f DIFF: https://github.com/llvm/llvm-project/commit/eb3f7880a272b818940e2bd2510ae04b0e32873f.dif

[clang] 196edb9 - Revert "[clang-tblgen][NFC] renames Diagnostic.Text to Diagnostic.Summary"

2022-11-20 Thread Christopher Di Bella via cfe-commits
Author: Christopher Di Bella Date: 2022-11-21T04:35:41Z New Revision: 196edb9f3f4a036371af0013a3d8b857fe0924d5 URL: https://github.com/llvm/llvm-project/commit/196edb9f3f4a036371af0013a3d8b857fe0924d5 DIFF: https://github.com/llvm/llvm-project/commit/196edb9f3f4a036371af0013a3d8b857fe0924d5.dif

[clang] 7994e51 - Revert "Revert "[clang-tblgen][NFC] renames Diagnostic.Text to Diagnostic.Summary""

2022-11-20 Thread Christopher Di Bella via cfe-commits
Author: Christopher Di Bella Date: 2022-11-21T04:55:19Z New Revision: 7994e5144aa52530fca9af0d81ca7134368034fe URL: https://github.com/llvm/llvm-project/commit/7994e5144aa52530fca9af0d81ca7134368034fe DIFF: https://github.com/llvm/llvm-project/commit/7994e5144aa52530fca9af0d81ca7134368034fe.dif

[clang] 33e2161 - [clang] makes `__is_trivially_equality_comparable` available as a struct

2023-04-19 Thread Christopher Di Bella via cfe-commits
Author: Christopher Di Bella Date: 2023-04-19T17:16:40Z New Revision: 33e21610f9cd40e991b7cac107ba190678970f81 URL: https://github.com/llvm/llvm-project/commit/33e21610f9cd40e991b7cac107ba190678970f81 DIFF: https://github.com/llvm/llvm-project/commit/33e21610f9cd40e991b7cac107ba190678970f81.dif

[clang] 798c5ba - [clang][NFC] refactors value type traits so we can have more than bools

2023-06-05 Thread Christopher Di Bella via cfe-commits
Author: Christopher Di Bella Date: 2023-06-05T18:07:18Z New Revision: 798c5ba770d30520a7cd6f431068ade2bda5a9f1 URL: https://github.com/llvm/llvm-project/commit/798c5ba770d30520a7cd6f431068ade2bda5a9f1 DIFF: https://github.com/llvm/llvm-project/commit/798c5ba770d30520a7cd6f431068ade2bda5a9f1.dif

[clang] 91be60b - Respect "-fdiagnostics-absolute-paths" on emit include location

2023-06-05 Thread Christopher Di Bella via cfe-commits
Author: Charalampos Mitrodimas Date: 2023-06-05T18:07:18Z New Revision: 91be60b34715bfe930dd1c56414c62a63cdaaa9c URL: https://github.com/llvm/llvm-project/commit/91be60b34715bfe930dd1c56414c62a63cdaaa9c DIFF: https://github.com/llvm/llvm-project/commit/91be60b34715bfe930dd1c56414c62a63cdaaa9c.d

[clang-tools-extra] ec3f8fe - [Clang-Tidy] Empty Check

2022-12-09 Thread Christopher Di Bella via cfe-commits
Author: Abraham Corea Diaz Date: 2022-12-09T23:19:45Z New Revision: ec3f8feddf81f2868c840f8e9af8587f055c713c URL: https://github.com/llvm/llvm-project/commit/ec3f8feddf81f2868c840f8e9af8587f055c713c DIFF: https://github.com/llvm/llvm-project/commit/ec3f8feddf81f2868c840f8e9af8587f055c713c.diff

[clang] [clang][dataflow] Fix crash on unions introduced in ba279934c6ab09d5394a89d8318651aefd8d565b (PR #81918)

2024-02-15 Thread Christopher Di Bella via cfe-commits
https://github.com/cjdb approved this pull request. https://github.com/llvm/llvm-project/pull/81918 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Flang] responds to Clang Tidy feedback (PR #87847)

2024-04-05 Thread Christopher Di Bella via cfe-commits
https://github.com/cjdb created https://github.com/llvm/llvm-project/pull/87847 Line 267: performance-unnecessary-copy-initialization Line 592: readability-container-size-empty >From b8e67dfae63ee64753724dba8735799b39f4fcc0 Mon Sep 17 00:00:00 2001 From: Christopher Di Bella Date: Sat, 6 Apr 20

[clang] [Flang] responds to Clang Tidy feedback (PR #87847)

2024-04-05 Thread Christopher Di Bella via cfe-commits
https://github.com/cjdb updated https://github.com/llvm/llvm-project/pull/87847 >From b8e67dfae63ee64753724dba8735799b39f4fcc0 Mon Sep 17 00:00:00 2001 From: Christopher Di Bella Date: Sat, 6 Apr 2024 00:13:29 + Subject: [PATCH 1/2] [Flang] responds to Clang Tidy feedback Line 267: performa

[clang] [Flang] responds to Clang Tidy feedback (PR #87847)

2024-04-10 Thread Christopher Di Bella via cfe-commits
https://github.com/cjdb updated https://github.com/llvm/llvm-project/pull/87847 >From b8e67dfae63ee64753724dba8735799b39f4fcc0 Mon Sep 17 00:00:00 2001 From: Christopher Di Bella Date: Sat, 6 Apr 2024 00:13:29 + Subject: [PATCH 1/2] [Flang] responds to Clang Tidy feedback Line 267: performa

[clang] [Flang] responds to Clang Tidy feedback (PR #87847)

2024-04-10 Thread Christopher Di Bella via cfe-commits
https://github.com/cjdb closed https://github.com/llvm/llvm-project/pull/87847 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libcxx] [Clang] Add __common_type builtin (PR #99473)

2024-07-25 Thread Christopher Di Bella via cfe-commits
cjdb wrote: I spent a lot of time trying to implement this myself, but I always struggled to capture detecting user specialisations of `common_type`. Which section of code handles that? https://github.com/llvm/llvm-project/pull/99473 ___ cfe-commits

[clang] [libcxx] [Clang] Add __common_type builtin (PR #99473)

2024-07-25 Thread Christopher Di Bella via cfe-commits
https://github.com/cjdb requested changes to this pull request. https://github.com/llvm/llvm-project/pull/99473 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libcxx] [Clang] Add __common_type builtin (PR #99473)

2024-07-25 Thread Christopher Di Bella via cfe-commits
@@ -3058,6 +3058,133 @@ void Sema::NoteAllFoundTemplates(TemplateName Name) { } } +static QualType commonTypeImpl(Sema &S, TemplateName BaseTemplate, + SourceLocation TemplateLoc, + ArrayRef Ts) { + auto lookUpComm

[clang] [libcxx] [Clang] Add __common_type builtin (PR #99473)

2024-07-25 Thread Christopher Di Bella via cfe-commits
@@ -3058,6 +3058,133 @@ void Sema::NoteAllFoundTemplates(TemplateName Name) { } } +static QualType commonTypeImpl(Sema &S, TemplateName BaseTemplate, + SourceLocation TemplateLoc, + ArrayRef Ts) { + auto lookUpComm

[clang] [libcxx] [Clang] Add __common_type builtin (PR #99473)

2024-07-25 Thread Christopher Di Bella via cfe-commits
@@ -3058,6 +3058,133 @@ void Sema::NoteAllFoundTemplates(TemplateName Name) { } } +static QualType commonTypeImpl(Sema &S, TemplateName BaseTemplate, + SourceLocation TemplateLoc, + ArrayRef Ts) { + auto lookUpComm

[clang-tools-extra] [WIP][clang-tidy] Ignore `if consteval` in else-after-return (PR #91588)

2024-05-10 Thread Christopher Di Bella via cfe-commits
cjdb wrote: Thanks for your patch! Would you be able to add a test case for this please? https://github.com/llvm/llvm-project/pull/91588 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libcxx] [Clang] Add __common_type builtin (PR #99473)

2024-07-31 Thread Christopher Di Bella via cfe-commits
@@ -3058,6 +3058,133 @@ void Sema::NoteAllFoundTemplates(TemplateName Name) { } } +static QualType commonTypeImpl(Sema &S, TemplateName BaseTemplate, + SourceLocation TemplateLoc, + ArrayRef Ts) { + auto lookUpComm

Re: [clang] 4a47da2 - [Sema] turns -Wfree-nonheap-object on by default

2021-04-30 Thread Christopher Di Bella via cfe-commits
;x); } > > int main() { f1(*(int*)malloc(sizeof(int))); } > > > > Could you fix that? (& then revert the workaround) > > > > On Fri, Jan 15, 2021 at 1:44 PM Christopher Di Bella via cfe-commits > > wrote: > > > > > > > > > Autho

[clang] 4a47da2 - [Sema] turns -Wfree-nonheap-object on by default

2021-01-15 Thread Christopher Di Bella via cfe-commits
Author: Christopher Di Bella Date: 2021-01-15T21:38:47Z New Revision: 4a47da2cf440c2f2006d9b04acfef4292de1e263 URL: https://github.com/llvm/llvm-project/commit/4a47da2cf440c2f2006d9b04acfef4292de1e263 DIFF: https://github.com/llvm/llvm-project/commit/4a47da2cf440c2f2006d9b04acfef4292de1e263.dif

[clang] [CIR] updates test for 75ea7aed (PR #127917)

2025-02-19 Thread Christopher Di Bella via cfe-commits
cjdb wrote: Thanks! https://github.com/llvm/llvm-project/pull/127917 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] updates test for 75ea7aed (PR #127917)

2025-02-19 Thread Christopher Di Bella via cfe-commits
https://github.com/cjdb closed https://github.com/llvm/llvm-project/pull/127917 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

<    1   2