================
@@ -11215,6 +11215,12 @@ class Sema final : public SemaBase {
       StmtResult *RebuildResult = nullptr,
       llvm::function_ref<StmtResult()> RebuildWithDereference = {});
 
+  /// Helper used by the expansion statements and for-range code to build
+  /// a variable declaration for e.g. 'begin' and 'end'. Prefer to use
+  /// BuildCXXForRangeBeginEndVars() instead if applicable.
----------------
cor3ntin wrote:

This is an ominous comment - why should i prefer the other function? when is it 
not applicable?

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

Reply via email to