Add null check to diagnostic path for lambda captures.
Previously, the failed capture of a variable in nested lambdas may crash when the lambda pointer is null. Only give the note if a location can be retreived from the lambda pointer. llvm-svn: 262765
Loading
Please sign in to comment