[all-commits] [llvm/llvm-project] 5fdad8: [clang-tidy] Fix check for generic lambda invented...

Saar Raz via All-commits all-commits at lists.llvm.org
Tue Jan 21 16:46:56 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5fdad8e3f803adce501ca25118f325184e54018d
      https://github.com/llvm/llvm-project/commit/5fdad8e3f803adce501ca25118f325184e54018d
  Author: Saar Raz <saar at raz.email>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/MoveForwardingReferenceCheck.cpp

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list