This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Fix PR35468
ClosedPublic

Authored by xazax.hun on Apr 24 2018, 4:54 AM.

Details

Summary

Auto return type was not correctly considered by the Unconventional Assign Operator check.

Diff Detail

Repository
rL LLVM

Event Timeline

xazax.hun created this revision.Apr 24 2018, 4:54 AM
alexfh accepted this revision.Apr 24 2018, 6:27 AM

LG with one comment.

test/clang-tidy/misc-unconventional-assign-operator.cpp
1 ↗(On Diff #143712)

I'd prefer to add a separate test file for C++17-dependent tests. It would be nice to ensure the rest works fine in C++11.

This revision is now accepted and ready to land.Apr 24 2018, 6:27 AM
This revision was automatically updated to reflect the committed changes.