Skip to content

Commit

Permalink
Add IndirectGotoStmt node
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Mar 16, 2024
1 parent a22cd6c commit 8d16634
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/exhaustive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ pub enum Clang {
ImplicitValueInitExpr(ImplicitValueInitExpr),
IncompleteArrayType(IncompleteArrayType),
IndirectFieldDecl(IndirectFieldDecl),
IndirectGotoStmt(IndirectGotoStmt),
InitListExpr(InitListExpr),
InjectedClassNameType(InjectedClassNameType),
InlineCommandComment(InlineCommandComment),
Expand Down Expand Up @@ -1881,6 +1882,13 @@ pub struct IndirectFieldDecl {
pub name: Box<str>,
}

#[derive(Deserialize, Debug)]
#[serde(deny_unknown_fields)]
#[non_exhaustive]
pub struct IndirectGotoStmt {
pub range: SourceRange,
}

#[derive(Deserialize, Debug)]
#[serde(deny_unknown_fields)]
#[non_exhaustive]
Expand Down

0 comments on commit 8d16634

Please sign in to comment.