diff options
author | Ilya Biryukov <ibiryukov@google.com> | 2018-07-23 06:32:36 +0000 |
---|---|---|
committer | Ilya Biryukov <ibiryukov@google.com> | 2018-07-23 06:32:36 +0000 |
commit | e7cd2c38e81e9916edfea6c3f07418b26518cb00 (patch) | |
tree | da5d2819c21966ecead52683013642d175c7999e /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
parent | 781ee0bc5abade62a306873aa8fb47ea4d75fdf2 (diff) | |
download | bcm5719-llvm-e7cd2c38e81e9916edfea6c3f07418b26518cb00.tar.gz bcm5719-llvm-e7cd2c38e81e9916edfea6c3f07418b26518cb00.zip |
Revert "Fold dangling-field warning into general initialization lifetime checks."
This reverts commit r337627.
After the change, clang started producing invalid warning on the following code:
struct foo {
foo(char *x) : x_(&x[10]) {}
private:
char *x_;
};
1.cpp:2:21: warning: initializing pointer member 'x_' with the stack address of parameter 'x' [-Wdangling-field]
llvm-svn: 337671
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions