efriedma added inline comments.
Comment at: clang/lib/Sema/SemaExpr.cpp:5931
+ if (Caller->hasAttr()) {
+const Decl *CalleeDecl = FDecl;
+if (const auto *UO = dyn_cast(Fn->IgnoreParens())) {
jroelofs wrote:
> This feels very fragile, and I kn
jroelofs marked an inline comment as done.
jroelofs added inline comments.
Comment at: clang/lib/Sema/SemaExpr.cpp:5931
+ if (Caller->hasAttr()) {
+const Decl *CalleeDecl = FDecl;
+if (const auto *UO = dyn_cast(Fn->IgnoreParens())) {
This fee
jroelofs created this revision.
jroelofs added reviewers: efriedma, weimingz, EricWF.
Herald added subscribers: cfe-commits, kristof.beyls.
Herald added a project: clang.
Fixes:
https://bugs.llvm.org/show_bug.cgi?id=35527
https://bugs.llvm.org/show_bug.cgi?id=35528
Repository:
rG LLVM Git