HomePhabricator

[analyzer] Add std::string checker

Authored by steakhal on Oct 25 2021, 2:15 AM.

Description

[analyzer] Add std::string checker

This patch adds a checker checking std::string operations.
At first, it only checks the std::string single const char *
constructor for nullness.
If It might be null, it will constrain it to non-null and place a note
tag there.

Reviewed By: martong

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

Details

Committed
steakhalOct 25 2021, 2:15 AM
Reviewer
martong
Differential Revision
D111247: [analyzer] Add std::string checker
Parents
rG1397c56d7ae8: Fix windows build for 6fa1b4ff4
Branches
Unknown
Tags
Unknown