Skip to content
  • Hans Wennborg's avatar
    Merging r292590: · 2d09298b
    Hans Wennborg authored
    ------------------------------------------------------------------------
    r292590 | abataev | 2017-01-20 00:57:28 -0800 (Fri, 20 Jan 2017) | 6 lines
    
    [OPENMP] Fix for PR31643: Clang crashes when compiling code on Windows
    with SEH and openmp
    
    In some cituations (during codegen for Windows SEH constructs)
    CodeGenFunction instance may have CurFn equal to nullptr. OpenMP related
    code does not expect such situation during cleanup.
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@293302 91177308-0d34-0410-b5e6-96231b3b80d8
    2d09298b