]> granicus.if.org Git - clang/commit
[OPENMP] Fix for PR31416: Clang crashes on OMPCapturedExpr during source
authorAlexey Bataev <a.bataev@hotmail.com>
Tue, 20 Dec 2016 16:51:02 +0000 (16:51 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Tue, 20 Dec 2016 16:51:02 +0000 (16:51 +0000)
commita966b1fd6ce257ab259c534488003e7aef57a0ff
tree3ad675743c8ea26006be223c43c496e54b7628b4
parent4aeb870bf4b2e0ea0cd0a926b4ed741e72e606ef
[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
include/clang/AST/DeclOpenMP.h
lib/AST/DeclOpenMP.cpp
lib/Sema/SemaOpenMP.cpp
test/OpenMP/for_codegen.cpp