This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Fix a regression issue introduced by r285239.
ClosedPublic

Authored by hokein on Nov 4 2016, 10:06 AM.

Details

Summary

r285239 changes the behavior of AST CXXDefaultArgExpr node.

Update modernize-use-nullptr to handle CXXDefaultArgExpr correctly.

Diff Detail

Repository
rL LLVM

Event Timeline

hokein updated this revision to Diff 76920.Nov 4 2016, 10:06 AM
hokein retitled this revision from to [clang-tidy] Fix a regression issue introduced by r285239..
hokein updated this object.
hokein added a reviewer: alexfh.
hokein added a subscriber: cfe-commits.
alexfh accepted this revision.Nov 7 2016, 11:25 AM
alexfh edited edge metadata.

Thank you for tracking and fixing this! One nit inline.

clang-tidy/modernize/UseNullptrCheck.cpp
194 ↗(On Diff #76920)

Use auto *.

This revision is now accepted and ready to land.Nov 7 2016, 11:25 AM
This revision was automatically updated to reflect the committed changes.