================
@@ -488,6 +488,49 @@ class Parser : public CodeCompletionHandler {
/// a statement expression and builds a suitable expression statement.
StmtResult handleExprStmt(ExprResult E, ParsedStmtContext StmtCtx);
+ class AssumeParseAssociatedStmtRAII {
+ Parser *parent;
----------------
SunilKuravinakop wrote:
Since I am creating instance of `AssumeParseAssociatedStmtRAII` in
`Parser::ParseOpenMPAssumesDirective()` I have to store Parent as a pointer.
The creation of the instance is done as :
`AssumeParseAssociatedStmtRAII AssumeParseAssocRAII(this, Loc, DKind);`
https://github.com/llvm/llvm-project/pull/97535
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits