Skip to content

Commit 6856a27

Browse files
committed
Fix lit test
1 parent 4183969 commit 6856a27

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

mlir/test/mlir-tblgen/cpp-class-comments.td

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,17 +96,14 @@ def EncodingTrait : AttrInterface<"EncodingTrait"> {
9696
}];
9797
let methods = [
9898
];
99-
// ATTR-INTERFACE: namespace mlir
100-
// ATTR-INTERFACE-NEXT: namespace a
101-
// ATTR-INTERFACE-NEXT: namespace traits
99+
// ATTR-INTERFACE: namespace mlir::a::traits {
102100
// ATTR-INTERFACE-NEXT: /// Common trait for all layouts.
103101
// ATTR-INTERFACE-NEXT: class EncodingTrait;
104102
}
105103

106104
def SimpleEncodingTrait : AttrInterface<"SimpleEncodingTrait"> {
107105
let cppNamespace = "a::traits";
108-
// ATTR-INTERFACE: namespace a {
109-
// ATTR-INTERFACE-NEXT: namespace traits {
106+
// ATTR-INTERFACE: namespace a::traits {
110107
// ATTR-INTERFACE-NEXT: class SimpleEncodingTrait;
111108
}
112109

@@ -116,8 +113,7 @@ def SimpleOpInterface : OpInterface<"SimpleOpInterface"> {
116113

117114
Simple Op Interface description
118115
}];
119-
// OP-INTERFACE: namespace a {
120-
// OP-INTERFACE-NEXT: namespace traits {
116+
// OP-INTERFACE: namespace a::traits {
121117
// OP-INTERFACE-NEXT: /// Simple Op Interface description
122118
// OP-INTERFACE-NEXT: class SimpleOpInterface;
123119
}

0 commit comments

Comments
 (0)