diff options
author | Ziqing Luo <ziqing@udel.edu> | 2025-08-07 15:31:13 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-07 14:31:13 +0800 |
commit | 0abf4975bbf176d393869d290d55748794e220c4 (patch) | |
tree | 40ff673a5c7a7d56d04b78a7d24b55a89db95977 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 13daf3b70c6e8991c846e8384de47c5e84a94480 (diff) | |
download | llvm-0abf4975bbf176d393869d290d55748794e220c4.zip llvm-0abf4975bbf176d393869d290d55748794e220c4.tar.gz llvm-0abf4975bbf176d393869d290d55748794e220c4.tar.bz2 |
[-Wunsafe-buffer-usage] Do not warn about class methods with libc function names (#151270)
This commit fixes the false positive that C++ class methods with libc
function names would be false warned about. For example,
```
struct T {void strcpy() const;};
void test(const T& t) { str.strcpy(); // no warn }
```
rdar://156264388
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions