HomePhabricator

[clang-tidy] Fix check for generic lambda invented template parameters

Authored by saar.raz on Jan 21 2020, 4:41 PM.

Description

[clang-tidy] Fix check for generic lambda invented template parameters

clang-tidy previously relied on there being no identifier for a TemplateTypeParmDecl for checking
whether 'decltype(x)' should be inserted, instead of checking whether or not it is implicit.

D65042 added new names for invented generic lambda template parameters, rendering that check incorrect.

(cherry picked from commit 5fdad8e3f803adce501ca25118f325184e54018d)

Details

Committed
saar.razJan 23 2020, 4:28 PM
Parents
rGfe039ecc2d74: [Concepts] Fix name-type conflict compilation issues
Branches
Unknown
Tags
Unknown