Skip to content

Commit 6e244d5

Browse files
authored
[CIR][NFC] Add isMoveConstructor to ASTCXXConstructorDeclInterface (#1879)
1 parent 7aa4f74 commit 6e244d5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

clang/include/clang/CIR/Interfaces/ASTAttrInterfaces.td

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@ let cppNamespace = "::cir" in {
125125
/*defaultImplementation=*/ [{
126126
return $_attr.getAst()->isCopyConstructor();
127127
}]
128+
>,
129+
InterfaceMethod<"", "bool", "isMoveConstructor", (ins), [{}],
130+
/*defaultImplementation=*/ [{
131+
return $_attr.getAst()->isMoveConstructor();
132+
}]
128133
>
129134
];
130135
}

0 commit comments

Comments
 (0)