From b879df24c9fca06d57123822d2cb58cb32d30988 Mon Sep 17 00:00:00 2001 From: Anastasia Stulova Date: Mon, 19 Nov 2018 12:43:39 +0000 Subject: [PATCH] Fixed uninitialized variable issue. This commit should fix failing bots. llvm-svn: 347196 --- clang/lib/Sema/SemaType.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/Sema/SemaType.cpp b/clang/lib/Sema/SemaType.cpp index 97ceaf97ff46..d9890aa34b05 100644 --- a/clang/lib/Sema/SemaType.cpp +++ b/clang/lib/Sema/SemaType.cpp @@ -7205,7 +7205,7 @@ static void deduceOpenCLImplicitAddrSpace(TypeProcessingState &State, (T->isVoidType() && !IsPointee)) return; - LangAS ImpAddr; + LangAS ImpAddr = LangAS::Default; // Put OpenCL automatic variable in private address space. // OpenCL v1.2 s6.5: // The default address space name for arguments to a function in a