[clang] [Clang][Sema] Expose static inline functions from GMF (PR #104701)

2024-12-29 Thread Jan Kokemüller via cfe-commits
@@ -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

[clang] [Clang][Sema] Expose static inline functions from GMF (PR #104701)

2024-12-29 Thread Jan Kokemüller via cfe-commits
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

[clang] [Clang][Sema] Expose static inline functions from GMF (PR #104701)

2024-08-21 Thread Jan Kokemüller via cfe-commits
@@ -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

[clang] [Clang][Sema] Expose static inline functions from GMF (PR #104701)

2024-08-20 Thread Jan Kokemüller via cfe-commits
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

[clang] [Clang][Sema] Expose static inline functions from GMF (PR #104701)

2024-08-18 Thread Jan Kokemüller via cfe-commits
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

[clang] [Clang][Sema] Expose static inline functions from GMF (PR #104701)

2024-08-18 Thread Jan Kokemüller via cfe-commits
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