@@ -6926,11 +6926,26 @@ void Sema::AddOverloadCandidate(
/// have linkage. So that all entities of the same should share one
/// linkage. But in clang, different entities of the same could have
/// different linkage.
-NamedDecl *ND = Function;
-if (auto *Spe
https://github.com/jiixyj updated
https://github.com/llvm/llvm-project/pull/104701
From feaf6512fc6323ad0c3d5082c06e610504f0a527 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Kokem=C3=BCller?=
Date: Sun, 18 Aug 2024 13:45:43 +0200
Subject: [PATCH 1/5] Expose static inline function from GMF
Th
@@ -6926,11 +6926,26 @@ void Sema::AddOverloadCandidate(
/// have linkage. So that all entities of the same should share one
/// linkage. But in clang, different entities of the same could have
/// different linkage.
-NamedDecl *ND = Function;
-if (auto *Spe
https://github.com/jiixyj updated
https://github.com/llvm/llvm-project/pull/104701
From feaf6512fc6323ad0c3d5082c06e610504f0a527 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Kokem=C3=BCller?=
Date: Sun, 18 Aug 2024 13:45:43 +0200
Subject: [PATCH 1/3] Expose static inline function from GMF
Th
https://github.com/jiixyj updated
https://github.com/llvm/llvm-project/pull/104701
From feaf6512fc6323ad0c3d5082c06e610504f0a527 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Kokem=C3=BCller?=
Date: Sun, 18 Aug 2024 13:45:43 +0200
Subject: [PATCH 1/2] Expose static inline function from GMF
Th
https://github.com/jiixyj created
https://github.com/llvm/llvm-project/pull/104701
In C, it is a common pattern to have `static inline` functions in headers to
avoid ODR issues. Currently, when those headers are included in a GMF, the
names are not found when two-phase name lookup and ADL is i