aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2020-03-04 18:35:07 -0800
committerAkira Hatanaka <ahatanaka@apple.com>2020-03-09 12:25:28 -0700
commite4dfc9f5bda3171e159f2ff62390c8795d9497e7 (patch)
tree24d2e28ca2b90c8267deae180741f0198030b0fc /clang/lib/Frontend/CompilerInvocation.cpp
parent2ab8065df619e2f801cf5552289adbf95a2795d7 (diff)
downloadllvm-e4dfc9f5bda3171e159f2ff62390c8795d9497e7.zip
llvm-e4dfc9f5bda3171e159f2ff62390c8795d9497e7.tar.gz
llvm-e4dfc9f5bda3171e159f2ff62390c8795d9497e7.tar.bz2
Fix the type of the capture passed to LambdaIntroducer::addCapture in
RebuildLambdaScopeInfo Previously the type of the variable was being passed, which was causing clang to crash when a non-reference variable was captured by reference or a reference variable was captured by value by a lambda and a block nested inside the lambda body was referencing the variable. Original patch by JF Bastien. rdar://problem/47550338 Differential Revision: https://reviews.llvm.org/D58164
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions