aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorReka Kovacs <rekanikolett@gmail.com>2018-07-30 15:43:45 +0000
committerReka Kovacs <rekanikolett@gmail.com>2018-07-30 15:43:45 +0000
commitc74cfc4215fc522e2be138f62c64ae3e9c0914f6 (patch)
tree7801b869941f6e090d11e3d991b4354f2f8fa35b /clang/lib/Basic/Module.cpp
parent9b33309c87a1a621c4f1a8cb065613f0194eef73 (diff)
downloadllvm-c74cfc4215fc522e2be138f62c64ae3e9c0914f6.zip
llvm-c74cfc4215fc522e2be138f62c64ae3e9c0914f6.tar.gz
llvm-c74cfc4215fc522e2be138f62c64ae3e9c0914f6.tar.bz2
[analyzer] Add support for more invalidating functions in InnerPointerChecker.
According to the standard, pointers referring to the elements of a `basic_string` may be invalidated if they are used as an argument to any standard library function taking a reference to non-const `basic_string` as an argument. This patch makes InnerPointerChecker warn for these cases. Differential Revision: https://reviews.llvm.org/D49656 llvm-svn: 338259
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions