[clang-tools-extra] a568411 - [clang-tidy] Update bugprone-stringview-nullptr to consistently prefer the empty string when passing arguments to constructors/functions

2022-01-20 Thread CJ Johnson via cfe-commits
Author: CJ Johnson Date: 2022-01-20T18:08:40-05:00 New Revision: a5684114445a72b5c0bb5b7b68a5c6eb3486b66d URL: https://github.com/llvm/llvm-project/commit/a5684114445a72b5c0bb5b7b68a5c6eb3486b66d DIFF: https://github.com/llvm/llvm-project/commit/a5684114445a72b5c0bb5b7b68a5c6eb3486b66d.diff LO

[clang-tools-extra] 81c330e - Filter string_view from the nullptr diagnosis of bugprone-string-constructor to prevent duplicate warnings with bugprone-stringview-nullptr

2022-01-12 Thread CJ Johnson via cfe-commits
Author: CJ Johnson Date: 2022-01-12T17:04:44-05:00 New Revision: 81c330e23dd4a14736b977e246bdca25be9b5770 URL: https://github.com/llvm/llvm-project/commit/81c330e23dd4a14736b977e246bdca25be9b5770 DIFF: https://github.com/llvm/llvm-project/commit/81c330e23dd4a14736b977e246bdca25be9b5770.diff LO

[clang-tools-extra] 7e29da8 - Add support for return values in bugprone-stringview-nullptr

2022-01-12 Thread CJ Johnson via cfe-commits
Author: CJ Johnson Date: 2022-01-12T16:53:13-05:00 New Revision: 7e29da875ca95cd916e7ce6668fa85b638c3bd5f URL: https://github.com/llvm/llvm-project/commit/7e29da875ca95cd916e7ce6668fa85b638c3bd5f DIFF: https://github.com/llvm/llvm-project/commit/7e29da875ca95cd916e7ce6668fa85b638c3bd5f.diff LO