HomePhabricator

[analyzer][NFC] Make the API of CallDescription safer slightly

Authored by steakhal on Wed, Nov 17, 6:55 AM.

Description

[analyzer][NFC] Make the API of CallDescription safer slightly

The new deleted constructor overload makes sure that no implicit
conversion from 0 would happen to ArrayRef<const char*>.

Also adds nodiscard to the CallDescriptionMap::lookup()

Details

Committed
steakhalWed, Nov 17, 6:55 AM
Parents
rG8924ba3bf8c6: [NFC][clang] Inclusive terms: replace uses of blacklist in clang/test/
Branches
Unknown
Tags
Unknown