================
@@ -134,6 +144,10 @@ class ExceptionAnalyzer {
     /// based on analyzer configuration.
     bool ThrowsUnknown = false;
 
+    /// Location info for the assumed-throwing function when ThrowsUnknown is
+    /// true. May be invalid if no location is available.
+    ThrowInfo UnknownThrowInfo;
----------------
zeyi2 wrote:

We would have to change an assert in order to implement it this way. That 
`assert()` was introduced in 
https://github.com/llvm/llvm-project/commit/32d5b252b928105216a9b9fac7862fc1268de977
 (reviews at https://reviews.llvm.org/D57883).

Should be safe though.

https://github.com/llvm/llvm-project/pull/187971
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to