Fixed uninitialized variable issue.

This commit should fix failing bots.

llvm-svn: 347196
This commit is contained in:
Anastasia Stulova 2018-11-19 12:43:39 +00:00
parent f6c2fbdd1a
commit b879df24c9
1 changed files with 1 additions and 1 deletions

View File

@ -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