[clang] fb1e077 - [NVPTX] Restore old va_list builtin type (#100438)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 24 10:54:48 PDT 2024


Author: Joseph Huber
Date: 2024-07-24T12:54:44-05:00
New Revision: fb1e077982e90e715058188fa667ea5dd8027a98

URL: https://github.com/llvm/llvm-project/commit/fb1e077982e90e715058188fa667ea5dd8027a98
DIFF: https://github.com/llvm/llvm-project/commit/fb1e077982e90e715058188fa667ea5dd8027a98.diff

LOG: [NVPTX] Restore old va_list builtin type (#100438)

Summary:
This was changed to `void *` from `char *` unintentionally, put it back.

Added: 
    

Modified: 
    clang/lib/Basic/Targets/NVPTX.h

Removed: 
    


################################################################################
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 {


        


More information about the cfe-commits mailing list