[PATCH] D28451: [AVR] Add support for the 'interrupt' and 'naked' attributes

Malcolm Parsons via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 20 02:07:53 PST 2017


malcolm.parsons added inline comments.


================
Comment at: lib/CodeGen/TargetInfo.cpp:6916
+    if (!FD) return;
+    llvm::Function *Fn = cast<llvm::Function>(GV);
+
----------------
You can use `auto *` here too.


https://reviews.llvm.org/D28451





More information about the cfe-commits mailing list