Skip to content

Commit

Permalink
[NVPTX] Restore old va_list builtin type (#100438)
Browse files Browse the repository at this point in the history
Summary:
This was changed to `void *` from `char *` unintentionally, put it back.
  • Loading branch information
jhuber6 authored Jul 24, 2024
1 parent 8d3252a commit fb1e077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/Basic/Targets/NVPTX.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class LLVM_LIBRARY_VISIBILITY NVPTXTargetInfo : public TargetInfo {
}

BuiltinVaListKind getBuiltinVaListKind() const override {
return TargetInfo::VoidPtrBuiltinVaList;
return TargetInfo::CharPtrBuiltinVaList;
}

bool isValidCPUName(StringRef Name) const override {
Expand Down

0 comments on commit fb1e077

Please sign in to comment.