summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-07-03 22:55:57 +0000
committerJordan Rose <jordan_rose@apple.com>2012-07-03 22:55:57 +0000
commit017591ab45a849a237f2c4b3265896db194dcbe9 (patch)
tree0dc5ce60422eaeb7cd82b729e918d769e669ec93 /clang/lib/Parse/ParseDecl.cpp
parent8a369a82d5a0dfa5827fc56be952a257b61df8f8 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud