aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.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
commit4c56c2263431daef2ce89638c6dfa726d4637c4d (patch)
tree9723b086eb5d70c434715a3ea73fcd503edeb514 /clang/lib/CodeGen/CodeGenModule.cpp
parent11288ce34c15a24c06cdcc6d82c5bb84c60eb5a9 (diff)
downloadllvm-4c56c2263431daef2ce89638c6dfa726d4637c4d.zip
llvm-4c56c2263431daef2ce89638c6dfa726d4637c4d.tar.gz
llvm-4c56c2263431daef2ce89638c6dfa726d4637c4d.tar.bz2
[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 llvm-svn: 194764
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions