File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
include/mlir/Dialect/EmitC/IR
lib/Dialect/EmitC/Transforms Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1600,10 +1600,9 @@ def EmitC_ClassOp
1600
1600
let summary =
1601
1601
"Represents a C++ class definition, encapsulating fields and methods.";
1602
1602
1603
- // FIX WORDING
1604
1603
let description = [{
1605
1604
The `emitc.class` operation defines a C++ class, acting as a container
1606
- for its data fields (`emitc.variable `) and methods (`emitc.func`).
1605
+ for its data fields (`emitc.field `) and methods (`emitc.func`).
1607
1606
It creates a distinct scope, isolating its contents from the surrounding
1608
1607
MLIR region, similar to how C++ classes encapsulate their internals.
1609
1608
All the class memebrs need to be default initalizable.
Original file line number Diff line number Diff line change 10
10
#include " mlir/Dialect/EmitC/IR/EmitC.h"
11
11
#include " mlir/IR/IRMapping.h"
12
12
#include " mlir/IR/PatternMatch.h"
13
+ #include " llvm/Support/Debug.h"
13
14
14
15
namespace mlir {
15
16
namespace emitc {
You can’t perform that action at this time.
0 commit comments