Skip to content

Commit fb1e077

Browse files
authored
[NVPTX] Restore old va_list builtin type (#100438)
Summary: This was changed to `void *` from `char *` unintentionally, put it back.
1 parent 8d3252a commit fb1e077

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)