Skip to content

Commit 3d99627

Browse files
committed
Add comment about TrailingObjects for CIRGenFunctionInfo
1 parent 2310c8a commit 3d99627

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/lib/CIR/CodeGen/CIRGenFunctionInfo.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ class RequiredArgs {
6666
}
6767
};
6868

69+
// The TrailingObjects for this class contain the function return type in the
70+
// first CanQualType slot, followed by the argument types.
6971
class CIRGenFunctionInfo final
7072
: public llvm::FoldingSetNode,
7173
private llvm::TrailingObjects<CIRGenFunctionInfo, CanQualType> {

0 commit comments

Comments
 (0)