[PATCH] D39518: [analyzer] do not crash on libcxx03 call_once implementation
Gábor Horváth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 2 04:10:51 PDT 2017
xazax.hun added inline comments.
================
Comment at: lib/Analysis/BodyFarm.cpp:415
CallbackRecordDecl, CallArgs);
- } else {
+ } else if (Callback->getType()->isRValueReferenceType()
+ || Callback->getType()->isLValueReferenceType()) {
----------------
Wouldn't it be equivalent for checking only `callback->getType()->isReferenceType()`?
https://reviews.llvm.org/D39518
More information about the cfe-commits
mailing list