Skip to content

Commit 48e624d

Browse files
authored
Revert "[Modules] Fix using va_list with modules and a precompiled header." (#101752)
Reverts #100837 The test Modules/builtin-vararg.c is failing on AArch64 build bots: - https://lab.llvm.org/buildbot/#/builders/190/builds/3117 - https://lab.llvm.org/buildbot/#/builders/65/builds/2302 - https://lab.llvm.org/buildbot/#/builders/154/builds/2288 Revert to get the bots back to green.
1 parent 72a514f commit 48e624d

File tree

2 files changed

+0
-90
lines changed

2 files changed

+0
-90
lines changed

clang/lib/Sema/Sema.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -310,13 +310,6 @@ void Sema::addImplicitTypedef(StringRef Name, QualType T) {
310310
}
311311

312312
void Sema::Initialize() {
313-
// Create BuiltinVaListDecl *before* ExternalSemaSource::InitializeSema(this)
314-
// because during initialization ASTReader can emit globals that require
315-
// name mangling. And the name mangling uses BuiltinVaListDecl.
316-
if (Context.getTargetInfo().hasBuiltinMSVaList())
317-
(void)Context.getBuiltinMSVaListDecl();
318-
(void)Context.getBuiltinVaListDecl();
319-
320313
if (SemaConsumer *SC = dyn_cast<SemaConsumer>(&Consumer))
321314
SC->InitializeSema(*this);
322315

clang/test/Modules/builtin-vararg.c

Lines changed: 0 additions & 83 deletions
This file was deleted.

0 commit comments

Comments
 (0)