Skip to content

Commit e1773f0

Browse files
committed
cleaning up comments
1 parent 6108401 commit e1773f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mlir/include/mlir/Dialect/EmitC/IR/EmitC.td

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1600,10 +1600,9 @@ def EmitC_ClassOp
16001600
let summary =
16011601
"Represents a C++ class definition, encapsulating fields and methods.";
16021602

1603-
// FIX WORDING
16041603
let description = [{
16051604
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`).
16071606
It creates a distinct scope, isolating its contents from the surrounding
16081607
MLIR region, similar to how C++ classes encapsulate their internals.
16091608
All the class memebrs need to be default initalizable.

mlir/lib/Dialect/EmitC/Transforms/Transforms.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
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

1415
namespace mlir {
1516
namespace emitc {

0 commit comments

Comments
 (0)