summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/init.c
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2019-02-13 19:53:38 +0000
committerVedant Kumar <vsk@apple.com>2019-02-13 19:53:38 +0000
commit4b0cc9a7c80ff44ff63f87305c775186a6360497 (patch)
tree16a8edb450be27bc3036fe795ec2f744ebe5aa9d /clang/test/Preprocessor/init.c
parent9fc51bae7342301bc2fbd93d254bbd53ec86256e (diff)
downloadbcm5719-llvm-4b0cc9a7c80ff44ff63f87305c775186a6360497.tar.gz
bcm5719-llvm-4b0cc9a7c80ff44ff63f87305c775186a6360497.zip
[CodeExtractor] Only lift lifetime markers present in the extraction region
When CodeExtractor finds liftime markers referencing inputs to the extraction region, it lifts these markers out of the region and inserts them around the call to the extracted function (see r350420, PR39671). However, it should *only* lift lifetime markers that are actually present in the extraction region. I.e., if a start marker is present in the extraction region but a corresponding end marker isn't (or vice versa), only the start marker (or end marker, resp.) should be lifted. Differential Revision: https://reviews.llvm.org/D57834 llvm-svn: 353973
Diffstat (limited to 'clang/test/Preprocessor/init.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud