================
@@ -120,6 +120,14 @@ int f1() {
 int S::A = f1();
 }
 
+namespace catch_all_handler {
+void f() {
----------------
zwuis wrote:

> > I can't understand what was the nullptr decl, is it `<<<NULL>>>`?
> 
> If I understand correctly, `<<<NULL>>>` is the null exception declaration for 
> `catch (...)`. ...

Correct. Call stack:

`ASTDumper::ASTNodeTraverser::Visit(const Stmt *, StringRef) -> ... -> 
ASTNodeTraverser::VisitCXXCatchStmt(const CXXCatchStmt *) -> ... -> 
TextNodeDumper::Visit(const Decl *)`

The exception declaration is the first child of the catch statement in ast dump.

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

Reply via email to