[llvm-branch-commits] [clang] [clang-tools-extra] [FlowSensitive] [StatusOr] invalidate StatusOr ptr argument of function calls (PR #180281)

Baranov Victor via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Feb 12 01:02:38 PST 2026


================
@@ -363,6 +363,18 @@ static auto isStatusPtrReturningCall() {
           recordType(hasDeclaration(statusClass()))))))))));
 }
 
+static auto isNonConstStatusOrType() {
+  using namespace ::clang::ast_matchers; // NOLINT: Too many names
----------------
vbvictor wrote:

Thanks for removing!

https://github.com/llvm/llvm-project/pull/180281


More information about the llvm-branch-commits mailing list