Skip to content

Commit 868d133

Browse files
committed
transpile: clarify in enum CExprKind docs that it's modeled on Clang's APIs, so look there for missing docs
1 parent 6669e05 commit 868d133

File tree

1 file changed

+3
-0
lines changed
  • c2rust-transpile/src/c_ast

1 file changed

+3
-0
lines changed

c2rust-transpile/src/c_ast/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,6 +1186,9 @@ pub enum OffsetOfKind {
11861186

11871187
/// Represents an expression in C (6.5 Expressions)
11881188
///
1189+
/// This is modeled on Clang's APIs, so where documentation
1190+
/// is lacking here, look at Clang.
1191+
///
11891192
/// We've kept a qualified type on every node since Clang has this information available, and since
11901193
/// the semantics of translations of certain constructs often depend on the type of the things they
11911194
/// are given.

0 commit comments

Comments
 (0)