================
@@ -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.
----------------
Sirraide wrote:

Yeah, that’s not really a good comment; I’ll remove most of this; it’s fine to 
use this function on its own (in fact we do in at least one place)

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