aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/Sema.cpp
diff options
context:
space:
mode:
authordyung <douglas.yung@sony.com>2024-08-02 17:10:59 -0400
committerGitHub <noreply@github.com>2024-08-02 14:10:59 -0700
commit48e624dc2002a4947923ff309a76a3e4deb7d39a (patch)
tree77b6225ecfef44adadb1e74dec693121cb43b5d2 /clang/lib/Sema/Sema.cpp
parent72a514f42722ad6f6e6baee8e2d75150f9369a66 (diff)
downloadllvm-48e624dc2002a4947923ff309a76a3e4deb7d39a.zip
llvm-48e624dc2002a4947923ff309a76a3e4deb7d39a.tar.gz
llvm-48e624dc2002a4947923ff309a76a3e4deb7d39a.tar.bz2
Revert "[Modules] Fix using `va_list` with modules and a precompiled header." (#101752)
Reverts llvm/llvm-project#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.
Diffstat (limited to 'clang/lib/Sema/Sema.cpp')
-rw-r--r--clang/lib/Sema/Sema.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/lib/Sema/Sema.cpp b/clang/lib/Sema/Sema.cpp
index 19d8692..2e989f0b 100644
--- a/clang/lib/Sema/Sema.cpp
+++ b/clang/lib/Sema/Sema.cpp
@@ -310,13 +310,6 @@ void Sema::addImplicitTypedef(StringRef Name, QualType T) {
}
void Sema::Initialize() {
- // Create BuiltinVaListDecl *before* ExternalSemaSource::InitializeSema(this)
- // because during initialization ASTReader can emit globals that require
- // name mangling. And the name mangling uses BuiltinVaListDecl.
- if (Context.getTargetInfo().hasBuiltinMSVaList())
- (void)Context.getBuiltinMSVaListDecl();
- (void)Context.getBuiltinVaListDecl();
-
if (SemaConsumer *SC = dyn_cast<SemaConsumer>(&Consumer))
SC->InitializeSema(*this);