[clang] [clang][ThreadSafety] Check trylock function success and return types (PR #95290)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 27 04:36:08 PDT 2024


asmok-g wrote:

Hi!

Is it expected for this to fail with unique_ptrs ? We have a case in the code where the return type is an alias to unique_ptr and it's failing. Also, cases where the return type is something like 
```
absl::Nullable<std::unique_ptr<const Obj, ObjUnlocker>>
```

that is failing. Is that expected ?

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


More information about the cfe-commits mailing list