summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2018-03-14 13:18:30 +0000
committerIlya Biryukov <ibiryukov@google.com>2018-03-14 13:18:30 +0000
commit0ee4a08c00ab0dd9e99f3d4025d5b29d4290808b (patch)
treed019562a5f2b5b7af40045662bb9fb77e1913795 /clang/lib/CodeGen/CodeGenFunction.cpp
parentbde677289acc188f5f577ecbcb3c066b1d2c8aa8 (diff)
downloadbcm5719-llvm-0ee4a08c00ab0dd9e99f3d4025d5b29d4290808b.tar.gz
bcm5719-llvm-0ee4a08c00ab0dd9e99f3d4025d5b29d4290808b.zip
[Sema] Pop function scope when instantiating a func with skipped body
Summary: By calling ActOnFinishFunctionBody(). Previously we were only calling ActOnSkippedFunctionBody, which didn't pop the function scope. This causes a crash when running on our internal code. No test-case, though, since I couldn't come up with a small example in reasonable time. The bug was introduced in r321174. Reviewers: bkramer, sammccall, sepavloff, aaron.ballman Reviewed By: sammccall, aaron.ballman Subscribers: aaron.ballman, cfe-commits Differential Revision: https://reviews.llvm.org/D44439 llvm-svn: 327504
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud