diff options
author | Zequan Wu <zequanwu@google.com> | 2020-06-02 10:21:02 -0700 |
---|---|---|
committer | Zequan Wu <zequanwu@google.com> | 2020-06-02 10:21:02 -0700 |
commit | 170b6869b563dd3393d99f3e03d389b9058d5f24 (patch) | |
tree | 0c3fead22337c549b292fb2af46cb93b62172665 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
parent | 4431d64c10cb681986e752420f1136f259daa5a7 (diff) | |
download | llvm-170b6869b563dd3393d99f3e03d389b9058d5f24.zip llvm-170b6869b563dd3393d99f3e03d389b9058d5f24.tar.gz llvm-170b6869b563dd3393d99f3e03d389b9058d5f24.tar.bz2 |
[Clang] Add a new warning to warn when passing uninitialized variables as const reference parameters to a function
Summary:
Add a new warning -Wuninitialized-const-reference as a subgroup of -Wuninitialized to address a bug filed here: https://bugs.llvm.org/show_bug.cgi?id=45624
This warning is controlled by -Wuninitialized and can be disabled by -Wno-uninitialized-const-reference.
The warning is diagnosed when passing uninitialized variables as const reference parameters to a function.
Differential Revision: https://reviews.llvm.org/D79895
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions