xazax.hun marked 2 inline comments as done.
xazax.hun added inline comments.
Comment at: clang/lib/Sema/SemaInit.cpp:6622
+return false;
+ const auto *RD = FD->getParamDecl(0)->getType()->getPointeeCXXRecordDecl();
+ if (!FD->isInStdNamespace() || !RD || !RD->isInStdNamespa
This revision was automatically updated to reflect the committed changes.
Closed by commit rL369408: [LifetimeAnalysis] Add support for free functions
(authored by xazax, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://revi
mgehre added inline comments.
Comment at: clang/lib/Sema/SemaInit.cpp:6622
+return false;
+ const auto *RD = FD->getParamDecl(0)->getType()->getPointeeCXXRecordDecl();
+ if (!FD->isInStdNamespace() || !RD || !RD->isInStdNamespace())
Maybe move the `Callee->
xazax.hun created this revision.
xazax.hun added reviewers: mgehre, gribozavr.
xazax.hun added a project: clang.
Herald added subscribers: Szelethus, Charusso, gamesh411, dkrupp, rnkovacs.
This patch adds support to the idiom when people using the free version of
`begin`, `end` and the like inste