HomePhabricator

[clang-tidy] Simplify implementation of container-size-empty

Authored by stephenkelly on Dec 22 2020, 9:45 AM.

Description

[clang-tidy] Simplify implementation of container-size-empty

Use IgnoreUnlessSpelledInSource to make the matcher code smaller and
more visibly-related to the code.

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