[clang] [clang][codegen] Add a verifier IR pass before any further passes. (PR #68015)

2023-10-03 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov closed https://github.com/llvm/llvm-project/pull/68015 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [NFC][clang] change remaining context-dependent type nodes to ContextualFoldingSet (PR #67751)

2023-10-03 Thread Matheus Izvekov via cfe-commits
mizvekov wrote: @shafik from the last message, it seemed like this is good to go, but you didn't approve, so I am wondering if you forgot. https://github.com/llvm/llvm-project/pull/67751 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang] [clang][codegen] Add a verifier IR pass before any further passes. (PR #68015)

2023-10-03 Thread Matheus Izvekov via cfe-commits
mizvekov wrote: The latest revision now has the new pass under control of the same flag. I will drop the matter of whether we do it for release builds by default, for this MR at least, because otherwise this is a useful change. https://github.com/llvm/llvm-project/pull/68015

[clang] [clang][codegen] Add a verifier IR pass before any further passes. (PR #68015)

2023-10-02 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov deleted https://github.com/llvm/llvm-project/pull/68015 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][codegen] Add a verifier IR pass before any further passes. (PR #68015)

2023-10-02 Thread Matheus Izvekov via cfe-commits
@@ -923,6 +923,8 @@ void EmitAssemblyHelper::RunOptimizationPipeline( PB.crossRegisterProxies(LAM, FAM, CGAM, MAM); ModulePassManager MPM; + // Add a verifier pass, before any other passes, to catch CodeGen issues. + MPM.addPass(VerifierPass());

[clang] [clang][codegen] Add a verifier IR pass before any further passes. (PR #68015)

2023-10-02 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/68015 >From be5fab19a147c979c7e8afb421d157b194f4a125 Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Mon, 2 Oct 2023 13:52:35 +0200 Subject: [PATCH] [clang][codegen] Add a verifier IR pass before any further

[clang] e897014 - [NFC][Clang][CodeGen] Improve performance for vtable metadata generation (#67066)

2023-10-02 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2023-10-03T03:23:34+02:00 New Revision: e8970141ec4326acb139789db01fb7c51538a4be URL: https://github.com/llvm/llvm-project/commit/e8970141ec4326acb139789db01fb7c51538a4be DIFF:

[clang] [NFC][Clang][CodeGen] Improve performance for vtable metadata generation (PR #67066)

2023-10-02 Thread Matheus Izvekov via cfe-commits
mizvekov wrote: @kstoimenov I believe you are supposed to notify the MR in case of reverts, otherwise I could have missed this if I wasn't awake. I believe in this case the bot is misconfigured, it's using `-Werror,-Wmissing-field-initializers`, the 'error' is just a missing initializer,

[clang] [NFC][Clang][CodeGen] Improve performance for vtable metadata generation (PR #67066)

2023-10-02 Thread Matheus Izvekov via cfe-commits
mizvekov wrote: Weird, the commit in the MR has a description, but it lost the description when merging through the github interface. https://github.com/llvm/llvm-project/pull/67066 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang] [NFC][Clang][CodeGen] Improve performance for vtable metadata generation (PR #67066)

2023-10-02 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov closed https://github.com/llvm/llvm-project/pull/67066 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][codegen] Add a verifier IR pass before any further passes. (PR #68015)

2023-10-02 Thread Matheus Izvekov via cfe-commits
@@ -923,6 +923,8 @@ void EmitAssemblyHelper::RunOptimizationPipeline( PB.crossRegisterProxies(LAM, FAM, CGAM, MAM); ModulePassManager MPM; + // Add a verifier pass, before any other passes, to catch CodeGen issues. + MPM.addPass(VerifierPass());

[clang] [clang][codegen] Add a verifier IR pass before any further passes. (PR #68015)

2023-10-02 Thread Matheus Izvekov via cfe-commits
@@ -1020,21 +1022,23 @@ void EmitAssemblyHelper::RunOptimizationPipeline( } if (CodeGenOpts.FatLTO) { - MPM = PB.buildFatLTODefaultPipeline(Level, PrepareForThinLTO, - PrepareForThinLTO || -

[clang] [NFC][Clang][CodeGen] Improve performance for vtable metadata generation (PR #67066)

2023-10-02 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov edited https://github.com/llvm/llvm-project/pull/67066 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [NFC][Clang][CodeGen] Improve performance for vtable metadata generation (PR #67066)

2023-10-02 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/67066 >From 44d43a8e7fa5b19671bc3f56f934dfb63a632aa4 Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Thu, 21 Sep 2023 22:57:27 +0200 Subject: [PATCH] [NFC][Clang][CodeGen] Improve performance for vtable metadata

[clang] [clang][codegen] Add a verifier IR pass before any further passes. (PR #68015)

2023-10-02 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov created https://github.com/llvm/llvm-project/pull/68015 This helps check clang generated good IR in the first place, as otherwise this can cause UB in subsequent passes, with the final verification pass not catching any issues. This for example would have helped

[clang] -fsanitize=function: fix MSVC hashing to sugared type (PR #66816)

2023-10-02 Thread Matheus Izvekov via cfe-commits
mizvekov wrote: Yep, it's a regression from 16. This bug makes ubsan unusable for MSVC target in real world projects. We could alternatively backport just the canonicalization, but not the rename, if that makes it better. https://github.com/llvm/llvm-project/pull/66816

[clang] -fsanitize=function: fix MSVC hashing to sugared type (PR #66816)

2023-10-02 Thread Matheus Izvekov via cfe-commits
mizvekov wrote: @tru Would you agree to backport this fix to 17? Strictly speaking there is an API change here, but I think it's a bit obscure and in any case, this change could catch misuse of it. https://github.com/llvm/llvm-project/pull/66816 ___

[clang] -fsanitize=function: fix MSVC hashing to sugared type (PR #66816)

2023-10-02 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov closed https://github.com/llvm/llvm-project/pull/66816 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] -fsanitize=function: fix MSVC hashing to sugared type (PR #66816)

2023-10-02 Thread Matheus Izvekov via cfe-commits
mizvekov wrote: @rnk Since @efriedma-quic seems to be unavailable, any objections we move forward and merge this, as is? https://github.com/llvm/llvm-project/pull/66816 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang] [NFC][clang] change remaining context-dependent type nodes to ContextualFoldingSet (PR #67751)

2023-10-01 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov edited https://github.com/llvm/llvm-project/pull/67751 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [NFC][clang] change remaining context-dependent type nodes to ContextualFoldingSet (PR #67751)

2023-10-01 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov edited https://github.com/llvm/llvm-project/pull/67751 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [NFC][clang] change remaining context-dependent type nodes to ContextualFoldingSet (PR #67751)

2023-10-01 Thread Matheus Izvekov via cfe-commits
mizvekov wrote: Thanks for the review. I think the change stands on itself, as we are avoiding storing one pointer per Type Node instance, for the cost of one extra pointer per ASTContext, which is negligible. These type nodes we are changing here are old, at least as far back as 2008. In

[clang] [NFC][clang] change remaining context-dependent type nodes to ContextualFoldingSet (PR #67751)

2023-09-29 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov edited https://github.com/llvm/llvm-project/pull/67751 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [NFC][clang] change remaining context-dependent type nodes to ContextualFoldingSet (PR #67751)

2023-09-29 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/67751 >From 5919cbf2a91f1cff3e48ba10cd2e9f5d2f5023f0 Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Fri, 29 Sep 2023 00:49:16 +0200 Subject: [PATCH] [NFC][clang] change remaining context-dependent type nodes to

[clang] [clang] implement common sugared type of inst-dependent DecltypeType (PR #67739)

2023-09-28 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov closed https://github.com/llvm/llvm-project/pull/67739 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [NFC][clang] change remaining context-dependent type nodes to ContextualFoldingSet (PR #67751)

2023-09-28 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov created https://github.com/llvm/llvm-project/pull/67751 Stacked, consider only last commit. >From 7009ebf7f2016816b5cbb694e0611cd2a86d7cf1 Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Thu, 28 Sep 2023 22:38:59 +0200 Subject: [PATCH 1/2] [clang] implement

[clang] [clang] implement common sugared type of inst-dependent DecltypeType (PR #67739)

2023-09-28 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/67739 >From 7009ebf7f2016816b5cbb694e0611cd2a86d7cf1 Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Thu, 28 Sep 2023 22:38:59 +0200 Subject: [PATCH] [clang] implement common sugared type of inst-dependent

[clang] [clang] implement common sugared type of inst-dependent DecltypeType (PR #67739)

2023-09-28 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov created https://github.com/llvm/llvm-project/pull/67739 While a DecltypeType node itself is not uniqued, an instantiation dependent DecltypeType will have a DependentDecltypeType as an underlying type, which is uniqued. In that case, there can be non-identical

[clang] Qualify non-dependent types of a class template with its declaration (PR #67566)

2023-09-27 Thread Matheus Izvekov via cfe-commits
mizvekov wrote: It's recommended to avoid introducing pure clang-format changes mixed with other non-style changes. The recommended way to avoid that is to run clang-format on the modified files on a separate commit, and then just merge that, no review required.

[clang] Qualify non-dependent types of a class template with the class declar… (PR #67566)

2023-09-27 Thread Matheus Izvekov via cfe-commits
mizvekov wrote: CC @vgvassilev @pcanal @Sterling-Augustine As the removed workaround dates back to the initial implementation imported in 0dd191a5c4bf27cc8a2b6033436b00f0cbdc4ce7 from Cling. https://github.com/llvm/llvm-project/pull/67566 ___

[clang] -fsanitize=function: fix MSVC hashing to sugared type (PR #66816)

2023-09-25 Thread Matheus Izvekov via cfe-commits
mizvekov wrote: @efriedma-quic gentle ping :-) https://github.com/llvm/llvm-project/pull/66816 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [NFC][Clang][CodeGen] Improve performance for vtable metadata generation (PR #67066)

2023-09-21 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov edited https://github.com/llvm/llvm-project/pull/67066 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Improve sort mangled (PR #67066)

2023-09-21 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov created https://github.com/llvm/llvm-project/pull/67066 This is stacked on top of https://github.com/llvm/llvm-project/pull/66816 Disregard first commit. >From 47bd926491f28f722c429f3ab4a993aa5d85d1b7 Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Tue, 19 Sep

[clang] -fsanitize=function: fix MSVC hashing to sugared type (PR #66816)

2023-09-20 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/66816 >From f2e022964f00e348ad3ab04ade88182485f7c19d Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Tue, 19 Sep 2023 22:21:25 +0200 Subject: [PATCH] -fsanitize=function: fix MSVC hashing to sugared type

[clang] 4914d33 - -fsanitize=function: Add a (bugged) test case for a sugared function type

2023-09-20 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2023-09-21T02:57:49+02:00 New Revision: 4914d33b6fc4284a491e3c9a050f277511da17b6 URL: https://github.com/llvm/llvm-project/commit/4914d33b6fc4284a491e3c9a050f277511da17b6 DIFF:

[clang] 2ed0453 - -fsanitize=function: Add a MSVC test case

2023-09-20 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2023-09-21T02:56:57+02:00 New Revision: 2ed0453b10ddf6617856b0c93be5bf72a8090f2f URL: https://github.com/llvm/llvm-project/commit/2ed0453b10ddf6617856b0c93be5bf72a8090f2f DIFF:

[clang] -fsanitize=function: fix MSVC hashing to sugared type (PR #66816)

2023-09-20 Thread Matheus Izvekov via cfe-commits
mizvekov wrote: I think this is a better direction overall, although it has the downside that it might be more difficult to backport this to 17. https://github.com/llvm/llvm-project/pull/66816 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang] -fsanitize=function: fix MSVC hashing to sugared type (PR #66816)

2023-09-20 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/66816 >From 725a8b45144d6aaab71d282110619f5f843d527f Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Tue, 19 Sep 2023 21:50:39 +0200 Subject: [PATCH 1/3] -fsanitize=function: Add a MSVC test case ---

[clang] -fsanitize=function: fix MSVC hashing to sugared type (PR #66816)

2023-09-20 Thread Matheus Izvekov via cfe-commits
mizvekov wrote: Okay, makes sense, although we can only say for certain regarding in-tree users. I have gone ahead and done that, plus I have renamed `mangleTypeName` to `mangleCanonicalTypeName` so the name describes the behavior better, and since this is an API break, we break it loudly.

[clang] -fsanitize=function: fix MSVC hashing to sugared type (PR #66816)

2023-09-20 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/66816 >From 725a8b45144d6aaab71d282110619f5f843d527f Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Tue, 19 Sep 2023 21:50:39 +0200 Subject: [PATCH 1/3] -fsanitize=function: Add a MSVC test case ---

[clang] -fsanitize=function: fix MSVC hashing to sugared type (PR #66816)

2023-09-19 Thread Matheus Izvekov via cfe-commits
mizvekov wrote: > It looks like the Itanium mangleTypeName() canonicalizes the type itself; > should the MSVC mangleTypeName do the same thing? It's done on purpose: `MicrosoftMangle.cpp`: ```cpp void MicrosoftCXXNameMangler::mangleType(QualType T, SourceRange Range,

[clang] -fsanitize=function: fix MSVC hashing to sugared type (PR #66816)

2023-09-19 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov created https://github.com/llvm/llvm-project/pull/66816 Hashing the sugared type instead of the canonical type meant that a simple example like this would always fail under MSVC: ``` static auto l() {} int main() { auto a = l; a(); } ``` `clang

[clang] [AST] Only dump desugared type when visibly different (PR #65214)

2023-09-08 Thread Matheus Izvekov via cfe-commits
mizvekov wrote: Yep, I definitely I agree this is a good change, thanks for working on it! I thought about doing the same at the time, but I just didn't have the bandwidth for yet another patch with a lot of test churn :) https://github.com/llvm/llvm-project/pull/65214

[clang-tools-extra] ee1f132 - Revert "[clang] ASTImporter: Fix importing of va_list types and declarations"

2022-10-31 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-31T19:34:23+01:00 New Revision: ee1f132d2c4d399be711275a62698ea9e766c199 URL: https://github.com/llvm/llvm-project/commit/ee1f132d2c4d399be711275a62698ea9e766c199 DIFF:

Re: [clang] a88ebd4 - Revert "[clang] Instantiate NTTPs and template default arguments with sugar"

2022-10-31 Thread Matheus Izvekov via cfe-commits
gt; On Wed, Oct 26, 2022 at 1:16 AM Matheus Izvekov via cfe-commits > wrote: > > > > > > Author: Matheus Izvekov > > Date: 2022-10-26T10:14:27+02:00 > > New Revision: a88ebd405da67b4cebf094c5a56f9aed97875423 > > > > URL: > > https://github.com/llvm/

[clang-tools-extra] 279fe62 - [clang] Instantiate alias templates with sugar

2022-10-31 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-31T17:57:19+01:00 New Revision: 279fe6281d2ca5b2318c7437316c28750feaac8d URL: https://github.com/llvm/llvm-project/commit/279fe6281d2ca5b2318c7437316c28750feaac8d DIFF:

[clang] ab11408 - [clang] Instantiate NTTPs and template default arguments with sugar

2022-10-31 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-31T17:57:18+01:00 New Revision: ab1140874fc6ab8ceb55a470489b80d953e1c6a6 URL: https://github.com/llvm/llvm-project/commit/ab1140874fc6ab8ceb55a470489b80d953e1c6a6 DIFF:

[clang-tools-extra] 5f820c0 - [clang] ASTImporter: Fix importing of va_list types and declarations

2022-10-31 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-31T17:57:18+01:00 New Revision: 5f820c0f55cd9d4f4520cc92eae0a1c4afe05a54 URL: https://github.com/llvm/llvm-project/commit/5f820c0f55cd9d4f4520cc92eae0a1c4afe05a54 DIFF:

[clang] edf1a2e - [clang] Fix handling of unexpanded packs in template argument expressions.

2022-10-31 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-31T17:57:17+01:00 New Revision: edf1a2e89340c8fa64a679e7d4ec2b5ee92ec40f URL: https://github.com/llvm/llvm-project/commit/edf1a2e89340c8fa64a679e7d4ec2b5ee92ec40f DIFF:

[clang] 2492c52 - [clang] Improve error recovery for pack expansion of expressions

2022-10-31 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-31T17:57:13+01:00 New Revision: 2492c52a05bcad4fab440ac13632051645d66678 URL: https://github.com/llvm/llvm-project/commit/2492c52a05bcad4fab440ac13632051645d66678 DIFF:

[clang] b806437 - [clang] Instantiate concepts with sugared template arguments

2022-10-26 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-27T06:18:53+02:00 New Revision: b8064374b217db061213c561ec8f3376681ff9c8 URL: https://github.com/llvm/llvm-project/commit/b8064374b217db061213c561ec8f3376681ff9c8 DIFF:

[clang] 59f0827 - [clang] Instantiate alias templates with sugar

2022-10-26 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-27T06:18:52+02:00 New Revision: 59f0827e2cf3755834620e7e0b6d946832440f80 URL: https://github.com/llvm/llvm-project/commit/59f0827e2cf3755834620e7e0b6d946832440f80 DIFF:

[clang] d4b1964 - [clang] Instantiate NTTPs and template default arguments with sugar

2022-10-26 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-27T06:18:12+02:00 New Revision: d4b1964f0554046b1e64908e5c1cd701b25f4c9e URL: https://github.com/llvm/llvm-project/commit/d4b1964f0554046b1e64908e5c1cd701b25f4c9e DIFF:

[clang] 326feaa - [clang] Implement sugared substitution changes to infrastructure

2022-10-26 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-27T06:18:07+02:00 New Revision: 326feaafb0913ec6b21d1d89d09cbdbb40db7503 URL: https://github.com/llvm/llvm-project/commit/326feaafb0913ec6b21d1d89d09cbdbb40db7503 DIFF:

[clang] 63f465b - [clang] Perform sugared substitution of builtin templates

2022-10-26 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-27T06:01:12+02:00 New Revision: 63f465b7f45d374f92d0e7697fddb3fb9b74241e URL: https://github.com/llvm/llvm-project/commit/63f465b7f45d374f92d0e7697fddb3fb9b74241e DIFF:

[clang] 27f9b0c - [clang] Include the type of a pointer or reference non-type template parameter in its notion of template argument identity.

2022-10-26 Thread Matheus Izvekov via cfe-commits
Author: Richard Smith Date: 2022-10-27T05:24:23+02:00 New Revision: 27f9b0c619c6e1439532434b632ea4f9b98f9f97 URL: https://github.com/llvm/llvm-project/commit/27f9b0c619c6e1439532434b632ea4f9b98f9f97 DIFF: https://github.com/llvm/llvm-project/commit/27f9b0c619c6e1439532434b632ea4f9b98f9f97.diff

[clang] 434a238 - Revert "[clang] Perform sugared substitution of builtin templates"

2022-10-26 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-26T10:14:37+02:00 New Revision: 434a238a4247f37ab42dece0913ab1e007564db9 URL: https://github.com/llvm/llvm-project/commit/434a238a4247f37ab42dece0913ab1e007564db9 DIFF:

[clang] a88ebd4 - Revert "[clang] Instantiate NTTPs and template default arguments with sugar"

2022-10-26 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-26T10:14:27+02:00 New Revision: a88ebd405da67b4cebf094c5a56f9aed97875423 URL: https://github.com/llvm/llvm-project/commit/a88ebd405da67b4cebf094c5a56f9aed97875423 DIFF:

[clang] 8383c2a - Revert "[clang] Implement sugared substitution changes to infrastructure"

2022-10-26 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-26T10:14:31+02:00 New Revision: 8383c2a435ecf9a86dc8f903a3d0b0b561422eeb URL: https://github.com/llvm/llvm-project/commit/8383c2a435ecf9a86dc8f903a3d0b0b561422eeb DIFF:

[clang-tools-extra] a58d83b - Revert "[clang] Instantiate alias templates with sugar"

2022-10-26 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-26T10:14:21+02:00 New Revision: a58d83b2c97cd480a8533b11b86c7cd709c48176 URL: https://github.com/llvm/llvm-project/commit/a58d83b2c97cd480a8533b11b86c7cd709c48176 DIFF:

[clang] 31074f5 - Revert "[clang] Instantiate concepts with sugared template arguments"

2022-10-26 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-26T10:14:14+02:00 New Revision: 31074f5ec2bc89c2a1e3ae0dd94aff87741416b0 URL: https://github.com/llvm/llvm-project/commit/31074f5ec2bc89c2a1e3ae0dd94aff87741416b0 DIFF:

[clang] d0a6de5 - [clang] Instantiate concepts with sugared template arguments

2022-10-25 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-26T03:24:20+02:00 New Revision: d0a6de59c78010118fea811514e03ed9f400215a URL: https://github.com/llvm/llvm-project/commit/d0a6de59c78010118fea811514e03ed9f400215a DIFF:

[clang] 4c44c91 - [clang] Instantiate alias templates with sugar

2022-10-25 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-26T03:23:24+02:00 New Revision: 4c44c91ad980304c5cca3792115349e68cfafd2b URL: https://github.com/llvm/llvm-project/commit/4c44c91ad980304c5cca3792115349e68cfafd2b DIFF:

[clang] 2560c12 - [clang] Instantiate NTTPs and template default arguments with sugar

2022-10-25 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-26T03:22:22+02:00 New Revision: 2560c1266993af6e6c15900ce673c6db23132f8b URL: https://github.com/llvm/llvm-project/commit/2560c1266993af6e6c15900ce673c6db23132f8b DIFF:

[clang] c4c2a3c - [clang] Implement sugared substitution changes to infrastructure

2022-10-25 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-26T03:21:15+02:00 New Revision: c4c2a3c65684e062efcd101a957c6cae0a304a7a URL: https://github.com/llvm/llvm-project/commit/c4c2a3c65684e062efcd101a957c6cae0a304a7a DIFF:

[clang] e5d9e80 - [clang] Perform sugared substitution of builtin templates

2022-10-25 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-26T02:34:42+02:00 New Revision: e5d9e802e50dd55a326e31a0d562e5263b208f3b URL: https://github.com/llvm/llvm-project/commit/e5d9e802e50dd55a326e31a0d562e5263b208f3b DIFF:

[clang] dc17043 - [clang] Fix missing diagnostic of declaration use when accessing TypeDecls through typename access

2022-10-24 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-25T02:46:35+02:00 New Revision: dc170433137aeda5e5276bd292cac12aa93fee7c URL: https://github.com/llvm/llvm-project/commit/dc170433137aeda5e5276bd292cac12aa93fee7c DIFF:

[clang] 1acffe8 - NFC: [clang] Template argument cleanups.

2022-10-24 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-25T00:29:56+02:00 New Revision: 1acffe81ee9117691812b9bf8747c03354177d15 URL: https://github.com/llvm/llvm-project/commit/1acffe81ee9117691812b9bf8747c03354177d15 DIFF:

[clang] 69a6417 - [clang] Implement divergence for TypedefType and UsingType

2022-10-03 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-10-03T23:23:58+02:00 New Revision: 69a6417406a1b0316a1fa6aeb63339d0e1d2abbd URL: https://github.com/llvm/llvm-project/commit/69a6417406a1b0316a1fa6aeb63339d0e1d2abbd DIFF:

[clang] ef4bbfe - [clang] AST: SubstTemplateTypeParmType support for non-canonical underlying type

2022-09-21 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-09-21T14:22:19+02:00 New Revision: ef4bbfe338bd85a9938d47c2d65f0eef874a6f7c URL: https://github.com/llvm/llvm-project/commit/ef4bbfe338bd85a9938d47c2d65f0eef874a6f7c DIFF:

[clang] c493d49 - [clang] Fix missing template arguments in AST of access to member variable template

2022-09-20 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-09-21T00:46:18+02:00 New Revision: c493d49cefeefa87532a2987a776b5433265e49f URL: https://github.com/llvm/llvm-project/commit/c493d49cefeefa87532a2987a776b5433265e49f DIFF:

[clang] 52dce89 - [clang] Fix AST representation of expanded template arguments.

2022-09-16 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-09-17T01:24:46+02:00 New Revision: 52dce8900c46d5842a021619537ede598983dfde URL: https://github.com/llvm/llvm-project/commit/52dce8900c46d5842a021619537ede598983dfde DIFF:

[clang] f4ea3bd - [clang] Fixes how we represent / emulate builtin templates

2022-09-16 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-09-16T17:44:12+02:00 New Revision: f4ea3bd4b2086e6de10131b197aaf7d066a24df8 URL: https://github.com/llvm/llvm-project/commit/f4ea3bd4b2086e6de10131b197aaf7d066a24df8 DIFF:

[clang] 591452e - NFC: [clang] add template AST test for make_integer_seq and type_pack_element

2022-09-16 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-09-16T17:12:49+02:00 New Revision: 591452eb235f0bdf5c22ba635114bf1b8dc7d01c URL: https://github.com/llvm/llvm-project/commit/591452eb235f0bdf5c22ba635114bf1b8dc7d01c DIFF:

[clang] 00ce271 - [clang] extend getCommonSugaredType to merge sugar nodes

2022-09-16 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-09-16T17:04:10+02:00 New Revision: 00ce271712d407b5347681c36474b80cfb0033d3 URL: https://github.com/llvm/llvm-project/commit/00ce271712d407b5347681c36474b80cfb0033d3 DIFF:

[clang-tools-extra] 67e2298 - [clang] use getCommonSugar in an assortment of places

2022-09-16 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-09-16T16:36:00+02:00 New Revision: 67e22983115451ef5512ad2813dd337762c52da3 URL: https://github.com/llvm/llvm-project/commit/67e22983115451ef5512ad2813dd337762c52da3 DIFF:

[clang] 67e2298 - [clang] use getCommonSugar in an assortment of places

2022-09-16 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-09-16T16:36:00+02:00 New Revision: 67e22983115451ef5512ad2813dd337762c52da3 URL: https://github.com/llvm/llvm-project/commit/67e22983115451ef5512ad2813dd337762c52da3 DIFF:

[clang-tools-extra] 1d1a98e - Revert "[clang] use getCommonSugar in an assortment of places"

2022-09-16 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-09-16T12:03:34+02:00 New Revision: 1d1a98e9a06ed7a9289b2fd7925035dbcbb7e0ce URL: https://github.com/llvm/llvm-project/commit/1d1a98e9a06ed7a9289b2fd7925035dbcbb7e0ce DIFF:

[clang] aff1f63 - [clang] use getCommonSugar in an assortment of places

2022-09-16 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-09-16T11:55:40+02:00 New Revision: aff1f6310e5f4cea92c4504853d5fd824754a74f URL: https://github.com/llvm/llvm-project/commit/aff1f6310e5f4cea92c4504853d5fd824754a74f DIFF:

[clang-tools-extra] aff1f63 - [clang] use getCommonSugar in an assortment of places

2022-09-16 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-09-16T11:55:40+02:00 New Revision: aff1f6310e5f4cea92c4504853d5fd824754a74f URL: https://github.com/llvm/llvm-project/commit/aff1f6310e5f4cea92c4504853d5fd824754a74f DIFF:

[clang] 16e5d6d - [clang] extend getCommonSugaredType to merge sugar nodes

2022-09-08 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-09-08T19:17:53+02:00 New Revision: 16e5d6d7f98f1119aab3d10ec4f9e59b5aacd359 URL: https://github.com/llvm/llvm-project/commit/16e5d6d7f98f1119aab3d10ec4f9e59b5aacd359 DIFF:

[clang] d42122c - [clang] use getCommonSugar in an assortment of places

2022-09-08 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-09-08T19:17:53+02:00 New Revision: d42122cd5db021e6b14a90a98ad1dd09412efb4c URL: https://github.com/llvm/llvm-project/commit/d42122cd5db021e6b14a90a98ad1dd09412efb4c DIFF:

[clang-tools-extra] d200db3 - [clang] template / auto deduction deduces common sugar

2022-09-08 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-09-08T19:17:48+02:00 New Revision: d200db38637884fd0b421802c6094b2a03ceb29e URL: https://github.com/llvm/llvm-project/commit/d200db38637884fd0b421802c6094b2a03ceb29e DIFF:

[clang] 94c6dfb - [clang] Implement setting crash_diagnostics_dir through env variable

2022-09-06 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-09-06T19:27:37+02:00 New Revision: 94c6dfbaebbd5b9474794b2437757dfb6aedefc3 URL: https://github.com/llvm/llvm-project/commit/94c6dfbaebbd5b9474794b2437757dfb6aedefc3 DIFF:

[clang] acb767f - [clang] fix profiling of template arguments of template and declaration kind

2022-09-06 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-09-06T18:27:39+02:00 New Revision: acb767f5cda59302aa9100afcf6133d66779d42c URL: https://github.com/llvm/llvm-project/commit/acb767f5cda59302aa9100afcf6133d66779d42c DIFF:

[clang] 3a0309c - [clang] Improve diagnostics for expansion length mismatch

2022-08-30 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-08-30T18:58:38+02:00 New Revision: 3a0309c53674be56b5cfce038d78a0c2c6e2a98c URL: https://github.com/llvm/llvm-project/commit/3a0309c53674be56b5cfce038d78a0c2c6e2a98c DIFF:

[clang] 4a56470 - Revert "Clang: fix AST representation of expanded template arguments."

2022-08-26 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-08-26T13:09:55+02:00 New Revision: 4a56470d0dcd2b6183e7aaf929995b01d986c216 URL: https://github.com/llvm/llvm-project/commit/4a56470d0dcd2b6183e7aaf929995b01d986c216 DIFF:

[clang] b8a1b69 - [clang] fix missing initialization of original number of expansions

2022-08-15 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-08-15T17:39:38+02:00 New Revision: b8a1b698afb2fc84819c7596090aabf4d826b436 URL: https://github.com/llvm/llvm-project/commit/b8a1b698afb2fc84819c7596090aabf4d826b436 DIFF:

[clang] 1d1a569 - Clang: fix AST representation of expanded template arguments.

2022-08-09 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-08-09T14:26:16+02:00 New Revision: 1d1a56929b725f9a79d98877f12d0a14f8418b38 URL: https://github.com/llvm/llvm-project/commit/1d1a56929b725f9a79d98877f12d0a14f8418b38 DIFF:

[clang] 271cc58 - [NFC] clang: Implement tests for PR56099

2022-06-21 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-06-21T18:35:17+02:00 New Revision: 271cc588054a90abf0d82f57af272c3db749ff56 URL: https://github.com/llvm/llvm-project/commit/271cc588054a90abf0d82f57af272c3db749ff56 DIFF:

[clang] e35096a - cmake: configure clang lit to use hmaptool from source directly

2022-06-16 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-06-16T13:08:50+02:00 New Revision: e35096ae961eb25843f0489847cdb6c1c586ad30 URL: https://github.com/llvm/llvm-project/commit/e35096ae961eb25843f0489847cdb6c1c586ad30 DIFF:

[clang] 671eb7d - [clang] AST/Print: honor AlwaysIncludeTypeForTemplateArgument policy

2022-06-14 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-06-14T18:18:24+02:00 New Revision: 671eb7dc1e69fec251e115f4f49865895a43513a URL: https://github.com/llvm/llvm-project/commit/671eb7dc1e69fec251e115f4f49865895a43513a DIFF:

[clang] 5160851 - cmake: use llvm dir variables for clang/utils/hmaptool

2022-06-09 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-06-09T12:25:38+02:00 New Revision: 51608515faa74c87ae09877be24eeb6a8226ff7e URL: https://github.com/llvm/llvm-project/commit/51608515faa74c87ae09877be24eeb6a8226ff7e DIFF:

[clang] cfda534 - [NFC] clang: add test for PR55886

2022-06-08 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-06-09T01:20:58+02:00 New Revision: cfda534b9944571bf55f0b275982d578361ab7d7 URL: https://github.com/llvm/llvm-project/commit/cfda534b9944571bf55f0b275982d578361ab7d7 DIFF:

[clang] 43ef17c - [clang] P2266: apply move elision rules on throw expr nested in function prototypes

2022-06-06 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-06-07T00:08:24+02:00 New Revision: 43ef17cac172229f8b176b42cf0e5ae6c82adbde URL: https://github.com/llvm/llvm-project/commit/43ef17cac172229f8b176b42cf0e5ae6c82adbde DIFF:

[clang] f62433f - [NFC] Add test cases reported in PR54341

2022-06-05 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-06-05T20:34:28+02:00 New Revision: f62433f17c304a8bd8458a60eb32cd86ecf507a4 URL: https://github.com/llvm/llvm-project/commit/f62433f17c304a8bd8458a60eb32cd86ecf507a4 DIFF:

[clang] c825abd - [clang] NFC: introduce test for D126620

2022-05-30 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-05-30T22:45:57+02:00 New Revision: c825abd6b0198fb088d9752f556a70705bc99dfd URL: https://github.com/llvm/llvm-project/commit/c825abd6b0198fb088d9752f556a70705bc99dfd DIFF:

[clang] 9331912 - cmake: fix clang standalone build

2022-05-30 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-05-30T21:56:38+02:00 New Revision: 93319128d0d4eda22ce8d531ba668cb8c7c8c8e8 URL: https://github.com/llvm/llvm-project/commit/93319128d0d4eda22ce8d531ba668cb8c7c8c8e8 DIFF:

[clang] bf1ab1f - cmake: use llvm dir variables for clang/utils/hmaptool

2022-05-27 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2022-05-27T18:44:58+02:00 New Revision: bf1ab1f0eb9578914343f48096229ecccd0ecf52 URL: https://github.com/llvm/llvm-project/commit/bf1ab1f0eb9578914343f48096229ecccd0ecf52 DIFF:

[clang] 85914b7 - [clang] fix regression deducing pack expansion arguments introduced by D110216

2021-11-18 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2021-11-19T03:36:20+01:00 New Revision: 85914b757015dfbc780dc254696acb95b8dc7679 URL: https://github.com/llvm/llvm-project/commit/85914b757015dfbc780dc254696acb95b8dc7679 DIFF:

<    1   2   3   4   5   6   >