summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/block-inalloca.cpp
Commit message (Collapse)AuthorAgeFilesLines
* CodeGen: handle blocks correctly when inalloca'edSaleem Abdulrasool2018-02-211-0/+11
When using blocks with C++ on Windows x86, it is possible to have the block literal be pushed into the inalloca'ed parameters. Teach IRGen to handle the case properly by extracting the block literal from the inalloca parameter. This fixes the use of blocks with C++ on Windows x86. llvm-svn: 325724
OpenPOWER on IntegriCloud