]> granicus.if.org Git - clang/commit
[OPENMP]Add support for analysis of if clauses.
authorAlexey Bataev <a.bataev@hotmail.com>
Tue, 16 Jul 2019 14:51:46 +0000 (14:51 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Tue, 16 Jul 2019 14:51:46 +0000 (14:51 +0000)
commit15319200cf006cd937d34507e8ad1dce5ce5e8ad
tree1aad6fb059bf36e7fff999c7c78af9eef2dfc335
parent22e4d5dc5ddf5737176d7212c8136b4cdd8be804
[OPENMP]Add support for analysis of if clauses.

Summary:
Added support for analysis of if clauses in the OpenMP directives to be
able to check for the use of uninitialized variables.

Reviewers: NoQ

Subscribers: guansong, jfb, jdoerfert, caomhin, kkwli0, cfe-commits

Tags: clang

Differential Revision: https://reviews.llvm.org/D64646

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@366211 91177308-0d34-0410-b5e6-96231b3b80d8
28 files changed:
include/clang/AST/OpenMPClause.h
lib/AST/OpenMPClause.cpp
lib/Analysis/CFG.cpp
test/Analysis/cfg-openmp.cpp
test/OpenMP/cancel_if_messages.cpp
test/OpenMP/distribute_parallel_for_if_messages.cpp
test/OpenMP/distribute_parallel_for_simd_if_messages.cpp
test/OpenMP/parallel_for_if_messages.cpp
test/OpenMP/parallel_for_simd_if_messages.cpp
test/OpenMP/parallel_if_messages.cpp
test/OpenMP/parallel_sections_if_messages.cpp
test/OpenMP/target_data_if_messages.cpp
test/OpenMP/target_enter_data_if_messages.cpp
test/OpenMP/target_exit_data_if_messages.cpp
test/OpenMP/target_if_messages.cpp
test/OpenMP/target_parallel_for_if_messages.cpp
test/OpenMP/target_parallel_for_simd_if_messages.cpp
test/OpenMP/target_parallel_if_messages.cpp
test/OpenMP/target_simd_if_messages.cpp
test/OpenMP/target_teams_distribute_if_messages.cpp
test/OpenMP/target_teams_distribute_parallel_for_if_messages.cpp
test/OpenMP/target_teams_distribute_parallel_for_simd_if_messages.cpp
test/OpenMP/target_teams_distribute_simd_if_messages.cpp
test/OpenMP/target_teams_if_messages.cpp
test/OpenMP/target_update_if_messages.cpp
test/OpenMP/task_if_messages.cpp
test/OpenMP/teams_distribute_parallel_for_if_messages.cpp
test/OpenMP/teams_distribute_parallel_for_simd_if_messages.cpp