[flang-commits] [flang] [flang] Check for BIND(C) name conflicts with alternate entries (PR #156563)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Wed Sep 3 08:07:11 PDT 2025


================
@@ -1531,6 +1531,15 @@ class Scope;
 // point to its subprogram.
 const Symbol *GetMainEntry(const Symbol *);
 
+inline bool IsAlternateEntry(const Symbol *symbol) {
----------------
klausler wrote:

It would be more clear to implement these in the opposite way, I think.

https://github.com/llvm/llvm-project/pull/156563


More information about the flang-commits mailing list