[clang] [llvm] Support for assume directive : Parse & AST modules (PR #97535)

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 15 12:52:43 PDT 2024


================
@@ -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;
----------------
alexey-bataev wrote:

Pass it as *this

https://github.com/llvm/llvm-project/pull/97535


More information about the cfe-commits mailing list