[OPENMP] Fix for PR31416: Clang crashes on OMPCapturedExpr during source
based coverage compilation Added source location info to captured expression declaration + fixed source location info for loop based directives. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290181 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/AST/DeclOpenMP.h 7 additions, 4 deletionsinclude/clang/AST/DeclOpenMP.h
- lib/AST/DeclOpenMP.cpp 9 additions, 4 deletionslib/AST/DeclOpenMP.cpp
- lib/Sema/SemaOpenMP.cpp 11 additions, 7 deletionslib/Sema/SemaOpenMP.cpp
- test/OpenMP/for_codegen.cpp 3 additions, 0 deletionstest/OpenMP/for_codegen.cpp
Loading
Please register or sign in to comment