HomePhabricator

Fix false positive with -Wnon-c-typedef-for-linkage

Authored by rtrieu on May 7 2020, 6:47 PM.

Description

Fix false positive with -Wnon-c-typedef-for-linkage

Implicit methods for structs can confuse the warning, so exclude checking
the Decl's that are implicit. Implicit Decl's for lambdas still need to
be checked, so skipping all implicit Decl's won't work.

Differential Revision: https://reviews.llvm.org/D79548

Details