diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2019-03-22 19:46:12 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-03-22 19:46:12 +0000 |
commit | cbbf92825f0d7a2b6925e93b58705443345ab57a (patch) | |
tree | 2fb58c693fd6f293330769076220a4073acb319a /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
parent | 819bedf3a1ba3f09037fe9a4a732dccbd9defb94 (diff) | |
download | bcm5719-llvm-cbbf92825f0d7a2b6925e93b58705443345ab57a.tar.gz bcm5719-llvm-cbbf92825f0d7a2b6925e93b58705443345ab57a.zip |
[clang-tidy] openmp-use-default-none - a new check
Summary:
Finds OpenMP directives that are allowed to contain `default` clause,
but either don't specify it, or the clause is specified but with the kind
other than `none`, and suggests to use `default(none)` clause.
Using `default(none)` clause changes the default variable visibility from
being implicitly determined, and thus forces developer to be explicit about the
desired data scoping for each variable.
Reviewers: JonasToth, aaron.ballman, xazax.hun, hokein, gribozavr
Reviewed By: JonasToth, aaron.ballman
Subscribers: jdoerfert, openmp-commits, klimek, sbenza, arphaman, Eugene.Zelenko, ABataev, mgorny, rnkovacs, guansong, cfe-commits
Tags: #clang-tools-extra, #openmp, #clang
Differential Revision: https://reviews.llvm.org/D57113
llvm-svn: 356801
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions