Skip to content

Commit d3b165f

Browse files
committed
[Clang][Cygwin] Use correct BuiltinVaListKind.
This was in older patches for Cygwin support, but was somehow lost in the latest rounds.
1 parent cd58586 commit d3b165f

File tree

1 file changed

+4
-0
lines changed
  • clang/lib/Basic/Targets

1 file changed

+4
-0
lines changed

clang/lib/Basic/Targets/X86.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,10 @@ class LLVM_LIBRARY_VISIBILITY CygwinX86_64TargetInfo : public X86_64TargetInfo {
984984
this->WCharType = TargetInfo::UnsignedShort;
985985
}
986986

987+
BuiltinVaListKind getBuiltinVaListKind() const override {
988+
return TargetInfo::CharPtrBuiltinVaList;
989+
}
990+
987991
void getTargetDefines(const LangOptions &Opts,
988992
MacroBuilder &Builder) const override {
989993
X86_64TargetInfo::getTargetDefines(Opts, Builder);

0 commit comments

Comments
 (0)