AMS21 added a comment.

@PiotrZSL thanks for the quick response.

I've tried to work on the `Field` test case but seem to have hit a roadblock. 
From what I can see the `FunctionProtoType` exception specificaion is 
`EST_Unevaluated` which causes it to give up because of the check on Line 41.
I'm not very familiar with the codebase but looked around and found the 
`ResolveExceptionSpec()` function inside `Sema.h` which seems to do exactly 
what I need: tell me if the implicit definition is throwing or not.
But I can't quite seem to figure out how to get a `Sema` object or construct 
one to use said function.
Or maybe there is another more clever way to go about it which I'm not aware of?

Any pointers into the right direction would be kindly appreciated.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146922/new/

https://reviews.llvm.org/D146922

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to