diff options
author | Jordan Rose <jordan_rose@apple.com> | 2012-07-03 22:55:57 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2012-07-03 22:55:57 +0000 |
commit | 017591ab45a849a237f2c4b3265896db194dcbe9 (patch) | |
tree | 0dc5ce60422eaeb7cd82b729e918d769e669ec93 /clang/lib/Parse/ParseDecl.cpp | |
parent | 8a369a82d5a0dfa5827fc56be952a257b61df8f8 (diff) | |
download | bcm5719-llvm-017591ab45a849a237f2c4b3265896db194dcbe9.tar.gz bcm5719-llvm-017591ab45a849a237f2c4b3265896db194dcbe9.zip |
[analyzer] For now, don't inline non-static member overloaded operators.
Our current inlining support (specifically RegionStore::enterStackFrame)
doesn't know that calls to overloaded operators may be calls to non-static
member functions, and that in these cases the first argument should be
treated as 'this'. This caused incorrect results and sometimes crashes.
The long-term fix will be to rewrite RegionStore::enterStackFrame to use
CallEvent and its subclasses, but for now we can just disable these
problematic calls by classifying them under a new CallEvent,
CXXMemberOperatorCall.
llvm-svn: 159692
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
0 files changed, 0 insertions, 0 deletions