================
@@ -161,8 +161,9 @@ class FrontendAction {
 
   std::unique_ptr<ASTUnit> takeCurrentASTUnit();
 
+  void setCurrentInput(const FrontendInputFile &CurrentInput);
   void setCurrentInput(const FrontendInputFile &CurrentInput,
-                       std::unique_ptr<ASTUnit> AST = nullptr);
+                       std::unique_ptr<ASTUnit> AST);
----------------
rdong8 wrote:

I added an overload that omits the extra `AST` arg entirely and is defined to 
call the 3-ary version out of line with a null `AST`.

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

Reply via email to