[clang] [Sema] Fix __array_rank queried type at template instantiation (PR #124491)

2025-01-27 Thread Robert Dazi via cfe-commits
https://github.com/v01dXYZ updated https://github.com/llvm/llvm-project/pull/124491 >From 9063b4f5ada77fa593b8e23e4706a2cd126e5858 Mon Sep 17 00:00:00 2001 From: v01dxyz Date: Sun, 26 Jan 2025 23:07:13 +0100 Subject: [PATCH] [Sema] Fix __array_rank queried type at template instantiation The t

[clang] [Sema] Fix __array_rank queried type at template instantiation (PR #124491)

2025-01-26 Thread Robert Dazi via cfe-commits
https://github.com/v01dXYZ created https://github.com/llvm/llvm-project/pull/124491 The type being queried was left as a template type parameter, making the whole expression as dependent and thus not eligible to static_assert. Fixes #123498 >From 8283e34bb0144604e52196e0a69a56355eb51e43 Mon

[clang] [clang-tools-extra] FunctionDecl::getFunctionTypeLoc: ignore function type attributes (PR #118420)

2024-12-16 Thread Robert Dazi via cfe-commits
v01dXYZ wrote: Reminder to myself: the documentation comment for getFunctionTypeLoc maybe needs to be modified to indicate support for annotated function. https://github.com/llvm/llvm-project/pull/118420 ___ cfe-commits mailing list cfe-commits@lists.

[clang] [clang-tools-extra] FunctionDecl::getFunctionTypeLoc: ignore function type attributes (PR #118420)

2024-12-16 Thread Robert Dazi via cfe-commits
https://github.com/v01dXYZ ready_for_review https://github.com/llvm/llvm-project/pull/118420 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] FunctionDecl::getFunctionTypeLoc: ignore function type attributes (PR #118420)

2024-12-12 Thread Robert Dazi via cfe-commits
https://github.com/v01dXYZ updated https://github.com/llvm/llvm-project/pull/118420 >From b6f013097c0003e37800ad13b420e50e3c84511b Mon Sep 17 00:00:00 2001 From: v01dxyz Date: Tue, 3 Dec 2024 04:52:33 +0100 Subject: [PATCH 1/8] FunctionDecl::getFunctionTypeLoc: ignore function type attributes

[clang] [clang-tools-extra] FunctionDecl::getFunctionTypeLoc: ignore function type attributes (PR #118420)

2024-12-12 Thread Robert Dazi via cfe-commits
https://github.com/v01dXYZ updated https://github.com/llvm/llvm-project/pull/118420 >From b6f013097c0003e37800ad13b420e50e3c84511b Mon Sep 17 00:00:00 2001 From: v01dxyz Date: Tue, 3 Dec 2024 04:52:33 +0100 Subject: [PATCH 1/7] FunctionDecl::getFunctionTypeLoc: ignore function type attributes

[clang] [clang-tools-extra] FunctionDecl::getFunctionTypeLoc: ignore function type attributes (PR #118420)

2024-12-12 Thread Robert Dazi via cfe-commits
@@ -3876,8 +3876,17 @@ bool FunctionDecl::doesDeclarationForceExternallyVisibleDefinition() const { FunctionTypeLoc FunctionDecl::getFunctionTypeLoc() const { const TypeSourceInfo *TSI = getTypeSourceInfo(); - return TSI ? TSI->getTypeLoc().IgnoreParens().getAs() -

[clang] [clang-tools-extra] FunctionDecl::getFunctionTypeLoc: ignore function type attributes (PR #118420)

2024-12-12 Thread Robert Dazi via cfe-commits
v01dXYZ wrote: I've got to squash and reword the commits. Also, I'll add a line to the release stating now FunctionDecl getFunctionTypeLoc/getReturrnLoc now supports AnnotatedTypes. https://github.com/llvm/llvm-project/pull/118420 ___ cfe-commits mai

[clang] [clang-tools-extra] FunctionDecl::getFunctionTypeLoc: ignore function type attributes (PR #118420)

2024-12-11 Thread Robert Dazi via cfe-commits
https://github.com/v01dXYZ updated https://github.com/llvm/llvm-project/pull/118420 >From b6f013097c0003e37800ad13b420e50e3c84511b Mon Sep 17 00:00:00 2001 From: v01dxyz Date: Tue, 3 Dec 2024 04:52:33 +0100 Subject: [PATCH 1/6] FunctionDecl::getFunctionTypeLoc: ignore function type attributes

[clang] FunctionDecl::getFunctionTypeLoc: ignore function type attributes (PR #118420)

2024-12-07 Thread Robert Dazi via cfe-commits
https://github.com/v01dXYZ updated https://github.com/llvm/llvm-project/pull/118420 >From b6f013097c0003e37800ad13b420e50e3c84511b Mon Sep 17 00:00:00 2001 From: v01dxyz Date: Tue, 3 Dec 2024 04:52:33 +0100 Subject: [PATCH 1/4] FunctionDecl::getFunctionTypeLoc: ignore function type attributes

[clang] FunctionDecl::getFunctionTypeLoc: ignore function type attributes (PR #118420)

2024-12-03 Thread Robert Dazi via cfe-commits
@@ -3876,8 +3876,17 @@ bool FunctionDecl::doesDeclarationForceExternallyVisibleDefinition() const { FunctionTypeLoc FunctionDecl::getFunctionTypeLoc() const { const TypeSourceInfo *TSI = getTypeSourceInfo(); - return TSI ? TSI->getTypeLoc().IgnoreParens().getAs() -

[clang] FunctionDecl::getFunctionTypeLoc: ignore function type attributes (PR #118420)

2024-12-02 Thread Robert Dazi via cfe-commits
https://github.com/v01dXYZ created https://github.com/llvm/llvm-project/pull/118420 Related to #118290. >From c7e93d177aef1214be6dea9e408e547b6d363e33 Mon Sep 17 00:00:00 2001 From: v01dxyz Date: Tue, 3 Dec 2024 04:52:33 +0100 Subject: [PATCH] FunctionDecl::getFunctionTypeLoc: ignore function