[analyzer] Move unexecuted test block into it's own source file
authorisuckatcs <65320245+isuckatcs@users.noreply.github.com>
Fri, 14 Oct 2022 16:03:13 +0000 (18:03 +0200)
committerisuckatcs <65320245+isuckatcs@users.noreply.github.com>
Thu, 20 Oct 2022 12:14:52 +0000 (14:14 +0200)
commitea8aebf9eb7f0762d357e02524be9f65cfdb4f58
treee056a991882405785025b489575a65ded4189352
parentdb3e858286a647de4fb2230791f8e4ec46c50245
[analyzer] Move unexecuted test block into it's own source file

Inside lambdas.cpp a block of code wasn't executed,
because it required the standard to be at least c++14.
This patch moves this block of code into it's own
source file and makes sure it's tested.

Differential Revision: https://reviews.llvm.org/D135965
clang/test/Analysis/lambdas-modern.cpp [new file with mode: 0644]
clang/test/Analysis/lambdas.cpp