This is an archive of the discontinued LLVM Phabricator instance.

[RecursiveASTVisitor] Visit the implicit expression of a CXXDefaultArgExpr
ClosedPublic

Authored by malcolm.parsons on Oct 26 2016, 8:22 AM.

Details

Summary

The matcher
varDecl(hasDescendant(

callExpr(hasDeclaration(functionDecl(unless(isNoThrow()))))))

didn't match calls from default arguments because the expression
for a CXXDefaultArgExpr was not visited.

Event Timeline

malcolm.parsons retitled this revision from to [RecursiveASTVisitor] Visit the implicit expression of a CXXDefaultArgExpr.
malcolm.parsons updated this object.
malcolm.parsons added a subscriber: cfe-commits.
aaron.ballman accepted this revision.Oct 26 2016, 1:17 PM
aaron.ballman added a reviewer: aaron.ballman.
aaron.ballman added a subscriber: aaron.ballman.

LGTM!

This revision is now accepted and ready to land.Oct 26 2016, 1:17 PM
This revision was automatically updated to reflect the committed changes.