================
@@ -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;
----------------
vbvictor wrote:
Can we not add new fields here.
I think we can still reuse `ThrownExceptions` variable for storing exceptions.
Inside `const Type*` put `nullptr` (unknown type)
Also, all added methods should be removed since they will not be used anymore
https://github.com/llvm/llvm-project/pull/187971
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits