Skip to content

Commit e4060d3

Browse files
authored
[Clang][NFC] Adopt simpified getTrailingObjects in CIRGenFunctionInfo (#143253)
1 parent 4c55505 commit e4060d3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

clang/lib/CIR/CodeGen/CIRGenFunctionInfo.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,8 @@ class CIRGenFunctionInfo final
7676

7777
unsigned numArgs;
7878

79-
CanQualType *getArgTypes() { return getTrailingObjects<CanQualType>(); }
80-
const CanQualType *getArgTypes() const {
81-
return getTrailingObjects<CanQualType>();
82-
}
79+
CanQualType *getArgTypes() { return getTrailingObjects(); }
80+
const CanQualType *getArgTypes() const { return getTrailingObjects(); }
8381

8482
CIRGenFunctionInfo() : required(RequiredArgs::All) {}
8583

0 commit comments

Comments
 (0)