forked from OSchip/llvm-project
Fixed uninitialized variable issue.
This commit should fix failing bots. llvm-svn: 347196
This commit is contained in:
parent
f6c2fbdd1a
commit
b879df24c9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue