diff options
author | Igor Kudrin <ikudrin@accesssoftek.com> | 2025-07-14 16:03:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-14 16:03:08 -0700 |
commit | ad9a9537e6222853da3966abd978548f0b62eab8 (patch) | |
tree | 99d67b65b40ccba1a768e26edb1dd694f793720c /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | a32040e483f4fb53031b390c66722ac27d839023 (diff) | |
download | llvm-ad9a9537e6222853da3966abd978548f0b62eab8.zip llvm-ad9a9537e6222853da3966abd978548f0b62eab8.tar.gz llvm-ad9a9537e6222853da3966abd978548f0b62eab8.tar.bz2 |
[clang] Fix -Wuninitialized for values passed by const pointers (#147221)
This enables producing a "variable is uninitialized" warning when a
value is passed to a pointer-to-const argument:
```
void foo(const int *);
void test() {
int *v;
foo(v);
}
```
Fixes #37460
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions