summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/block-byref.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [OPENMP][BLOCKS]Fix PR38923: reference to a global variable is capturedAlexey Bataev2018-08-201-0/+15
by a block. Added checks for capturing of the variable in the block when trying to emit correct address for the variable with the reference type. This extra check allows correctly identify the variables that are not captured in the block context. llvm-svn: 340181
OpenPOWER on IntegriCloud