https://bugs.llvm.org/show_bug.cgi?id=43821
Bug ID: 43821
Summary: Missed warning opportunity/sanitizef failure
Product: clang
Version: trunk
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: enhancement
Priority: P
Component: C++11
Assignee: unassignedclangb...@nondot.org
Reporter: denis.yaroshevs...@gmail.com
CC: blitzrak...@gmail.com, dgre...@apple.com,
erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
richard-l...@metafoo.co.uk
This bug has been in my code and passed everything, -Werror -Wall and running
with asan.
https://gcc.godbolt.org/z/CSC4ra
Misplacing two parameters in a vector constructor is very common.
On Mac asan doesn't catch this (on linux it does - this is how this bug was
found, but a couple of month later)
I wondered if this is possible to warn on, given that it's very similar to
signed/unsigned casts.
Clang version: Apple clang version 11.0.0 (clang-1100.0.33.8)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs