[clang] [clang][CodeGen][AVR] Fix a crash in AVRABIInfo (PR #131976)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 19 13:39:48 PDT 2025


================
@@ -135,7 +135,8 @@ class AVRTargetCodeGenInfo : public TargetCodeGenInfo {
     if (GV->isDeclaration())
       return;
     const auto *FD = dyn_cast_or_null<FunctionDecl>(D);
-    if (!FD) return;
+    if (!FD)
----------------
efriedma-quic wrote:

Please don't reformat code that isn't relevant to the patch.

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


More information about the cfe-commits mailing list