Re: r347189 - [OpenCL] Fix address space deduction in template args.

2018-11-19 Thread Anastasia Stulova via cfe-commits
tion in a I am trying to reproduce and test the problem now to commit the fix. Cheers, Anastasia From: Benjamin Kramer Sent: 19 November 2018 11:08 To: Anastasia Stulova Cc: cfe-commits Subject: Re: r347189 - [OpenCL] Fix address space deduction in template args.

Re: r347189 - [OpenCL] Fix address space deduction in template args.

2018-11-19 Thread Benjamin Kramer via cfe-commits
clang gives me this: llvm/tools/clang/lib/Sema/SemaType.cpp:7230:11: error: variable 'ImpAddr' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] if (D.getContext() == DeclaratorContext::TemplateArgContext) { ^~