aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-08-15 00:52:03 +0000
committerJordan Rose <jordan_rose@apple.com>2012-08-15 00:52:03 +0000
commit09647f28d7955d0c948ebbbb376a46844056f11a (patch)
tree59b389c2e689a929b5fac7bcae87d5206c965c92
parentb763ede873c23c8651bd18eba0c62e929b496ba5 (diff)
[analyzer] Doxygen comments in ObjCMethodCall.
No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161917 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h b/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
index 6e04ba6fe5..f6c5830c29 100644
--- a/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
+++ b/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
@@ -804,8 +804,12 @@ public:
return getOriginExpr()->getReceiverInterface();
}
+ /// Returns how the message was written in the source (property access,
+ /// subscript, or explicit message send).
ObjCMessageKind getMessageKind() const;
+ /// Returns true if this property access or subscript is a setter (has the
+ /// form of an assignment).
bool isSetter() const {
switch (getMessageKind()) {
case OCM_Message: