[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:20:04 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:

If you only have one call site, then you don't need both APIs (yet).

I have been slowing converting tools like this -- ones with reasonable results for absent (null) pointer arguments -- into pointer-only forms, as I run across hem.

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


More information about the flang-commits mailing list