================
@@ -557,6 +560,35 @@ class TrivialFunctionAnalysisVisitor
     return false; // Otherwise it's likely not trivial.
   }
 
+  bool HasFieldWithNonTrivialDtor(const CXXRecordDecl *Cls) {
----------------
steakhal wrote:

I see what you mean now.
The name is right, the function does exatcly that.
Are you also implicitly implying that the record decl would be put into the 
cache ao that next time no traversal would happen?
If so, perfect.
If there is no caching, then thats an issue.

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

Reply via email to