llvm-project/clang/lib
Alexey Bataev c2c21ef9d2 [OPENMP]Initial fix PR42392: Improve -Wuninitialized warnings for OpenMP programs.
Summary:
Some OpenMP clauses rely on the values of the variables. If the variable
is not initialized and used in OpenMP clauses that depend on the
variables values, it should be reported that the uninitialized variable
is used in the OpenMP clause expression.
This patch adds initial processing for uninitialized variables in OpenMP
constructs. Currently, it checks for use of the uninitialized variables
in the structured blocks.

Reviewers: NoQ, Szelethus, dcoughlin, xazax.hun, a.sidorin, george.karpenkov, szepet

Subscribers: rnkovacs, guansong, jfb, jdoerfert, cfe-commits

Tags: #clang

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

llvm-svn: 365786
2019-07-11 14:54:17 +00:00
..
ARCMigrate Change std::{lower,upper}_bound to llvm::{lower,upper}_bound or llvm::partition_point. NFC 2019-07-03 08:13:17 +00:00
AST [OPENMP]Initial fix PR42392: Improve -Wuninitialized warnings for OpenMP programs. 2019-07-11 14:54:17 +00:00
ASTMatchers Revert "[clang] Fixing windows buildbot after D61552" 2019-06-20 10:34:02 +00:00
Analysis [OPENMP]Initial fix PR42392: Improve -Wuninitialized warnings for OpenMP programs. 2019-07-11 14:54:17 +00:00
Basic De-templatize non-dependent VS macro logic, NFC 2019-07-09 20:57:28 +00:00
CodeGen Added mapping for pointers captured in Lambdas in OpenMP target regions, 2019-07-11 13:54:26 +00:00
CrossTU [analyzer] Add analyzer option to limit the number of imported TUs 2019-07-08 12:37:10 +00:00
Driver driver: Don't warn about assembler flags being unused when not assembling 2019-07-10 22:29:35 +00:00
Edit [C++2a] Add __builtin_bit_cast, used to implement std::bit_cast 2019-07-02 18:28:13 +00:00
Format clang-format: Add new style option AlignConsecutiveMacros 2019-07-02 15:53:14 +00:00
Frontend [X86][PPC] Support -mlong-double-64 2019-07-09 00:27:43 +00:00
FrontendTool [clang-ifs] Clang Interface Stubs, first version (second landing attempt). 2019-06-20 16:59:48 +00:00
Headers [X86] Change the IR sequence for _mm_storeh_pi and _mm_storel_pi to perform the store as a <2 x float> instead of i64. 2019-07-10 17:11:29 +00:00
Index [Concepts] Concept definitions (D40381) 2019-07-10 21:25:49 +00:00
Lex [clang-scan-deps] Dependency directives source minimizer: 2019-07-10 22:00:59 +00:00
Parse [Concepts] Concept definitions (D40381) 2019-07-10 21:25:49 +00:00
Rewrite [Rewrite] Extend to further accept CharSourceRange 2019-07-06 02:55:06 +00:00
Sema [Concepts] Concept definitions (D40381) 2019-07-10 21:25:49 +00:00
Serialization [Concepts] Concept definitions (D40381) 2019-07-10 21:25:49 +00:00
StaticAnalyzer [analyzer] CastValueChecker: Remove a dump() 2019-07-10 00:50:01 +00:00
Tooling [Syntax] Add assertion to catch invalid tokens early. NFC 2019-07-10 08:24:42 +00:00
CMakeLists.txt Revert [clang] DirectoryWatcher 2019-07-09 23:22:01 +00:00