summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprComplex.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-11-15 02:11:19 +0000
committerJordan Rose <jordan_rose@apple.com>2013-11-15 02:11:19 +0000
commitfda9dbf1f4d15baaedffdd4b4bb529e06172f73d (patch)
tree9c72b3aa23175b67541381ca5c210b1670d9805a /lib/CodeGen/CGExprComplex.cpp
parentd0e5f6a39e4fb30b3a217ae91aecc167a94022e6 (diff)
downloadclang-fda9dbf1f4d15baaedffdd4b4bb529e06172f73d.tar.gz
clang-fda9dbf1f4d15baaedffdd4b4bb529e06172f73d.tar.bz2
clang-fda9dbf1f4d15baaedffdd4b4bb529e06172f73d.tar.xz
[analyzer] Silence warnings coming from allocators used by std::basic_string.
This is similar to r194004: because we can't reason about the data structure invariants of std::basic_string, the analyzer decides it's possible for an allocator to be used to deallocate the string's inline storage. Just ignore this by walking up the stack, skipping past methods in classes with "allocator" in the name, and seeing if we reach std::basic_string that way. PR17866 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194764 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions