[clang] [NVPTX] Restore old va_list builtin type (PR #100438)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 24 10:51:34 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Joseph Huber (jhuber6)
<details>
<summary>Changes</summary>
Summary:
This was changed to `void *` from `char *` unintentionally, put it back.
---
Full diff: https://github.com/llvm/llvm-project/pull/100438.diff
1 Files Affected:
- (modified) clang/lib/Basic/Targets/NVPTX.h (+1-1)
``````````diff
diff --git a/clang/lib/Basic/Targets/NVPTX.h b/clang/lib/Basic/Targets/NVPTX.h
index 25dc979d882fd..1ef20ce733917 100644
--- a/clang/lib/Basic/Targets/NVPTX.h
+++ b/clang/lib/Basic/Targets/NVPTX.h
@@ -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 {
``````````
</details>
https://github.com/llvm/llvm-project/pull/100438
More information about the cfe-commits
mailing list