mizvekov wrote:
Thanks for the report, this is the reduced reproducer:
```C++
template struct QWindowSystemHelper {
template static void handleEvent() {
QWindowSystemHelper::handleEvent();
}
};
template <>
template
void QWindowSystemHelper::handleEvent() {
static_assert(__is_same(Eve
mstorsjo wrote:
I pushed a revert for this myself now after running tests, to see that it
didn't tie in to any other recent change.
https://github.com/llvm/llvm-project/pull/112241
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.
mstorsjo wrote:
This change breaks compiling Qt. To reproduce on e.g. Linux, clone
https://github.com/qt/qtbase, check out the tag `v6.8.1`, configure and build
it like this:
```
$ cmake .. \
-G Ninja \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
-D
https://github.com/mizvekov closed
https://github.com/llvm/llvm-project/pull/112241
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/112241
>From c1f3c40382b79a3aa3fb422b6f7382a1f7d7c6f5 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Sat, 28 Sep 2024 14:28:58 -0300
Subject: [PATCH] [clang] Track function template instantiation from definition
cor3ntin wrote:
@mizvekov did you just forget to merge?
https://github.com/llvm/llvm-project/pull/112241
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/112241
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang-modules
@llvm/pr-subscribers-clang
Author: Matheus Izvekov (mizvekov)
Changes
This fixes instantiation of definition for friend function templates, when the
declaration found and the one containing the definition have different template
contexts.
https://github.com/mizvekov created
https://github.com/llvm/llvm-project/pull/112241
This fixes instantiation of definition for friend function templates, when the
declaration found and the one containing the definition have different template
contexts.
In these cases, the the function declar