[clang] [Clang] strengthen checks for 'main' function to meet [basic.start.main] p3 requirements (PR #101853)

Oleksandr T. via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 6 08:59:48 PDT 2024


================
@@ -7353,6 +7353,15 @@ void emitReadOnlyPlacementAttrWarning(Sema &S, const VarDecl *VD) {
   }
 }
 
+// Checks if VD is declared at global scope or with C language linkage
----------------
a-tarasyuk wrote:

Fixed

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


More information about the cfe-commits mailing list