Skip to content

Commit bec590b

Browse files
jhuber6yuxuanchen1997
authored andcommitted
[NVPTX] Restore old va_list builtin type (#100438)
Summary: This was changed to `void *` from `char *` unintentionally, put it back. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60250710
1 parent ea84f51 commit bec590b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Basic/Targets/NVPTX.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class LLVM_LIBRARY_VISIBILITY NVPTXTargetInfo : public TargetInfo {
119119
}
120120

121121
BuiltinVaListKind getBuiltinVaListKind() const override {
122-
return TargetInfo::VoidPtrBuiltinVaList;
122+
return TargetInfo::CharPtrBuiltinVaList;
123123
}
124124

125125
bool isValidCPUName(StringRef Name) const override {

0 commit comments

Comments
 (0)