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 @@ -1579,10 +1579,9 @@ def EmitC_ClassOp
15791579 let summary =
15801580 "Represents a C++ class definition, encapsulating fields and methods.";
15811581
1582- // FIX WORDING
15831582 let description = [{
15841583 The `emitc.class` operation defines a C++ class, acting as a container
1585- for its data fields (`emitc.variable `) and methods (`emitc.func`).
1584+ for its data fields (`emitc.field `) and methods (`emitc.func`).
15861585 It creates a distinct scope, isolating its contents from the surrounding
15871586 MLIR region, similar to how C++ classes encapsulate their internals.
15881587 All the class memebrs need to be default initalizable.
Original file line number Diff line number Diff line change 1010#include " mlir/Dialect/EmitC/IR/EmitC.h"
1111#include " mlir/IR/IRMapping.h"
1212#include " mlir/IR/PatternMatch.h"
13+ #include " llvm/Support/Debug.h"
1314
1415namespace mlir {
1516namespace emitc {
You can’t perform that action at this time.
0 commit comments