]> granicus.if.org Git - clang/commitdiff
In ObjCMessageExpr: getSelector() const should just return "Selector", not "const...
authorTed Kremenek <kremenek@apple.com>
Thu, 27 Mar 2008 03:47:43 +0000 (03:47 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 27 Mar 2008 03:47:43 +0000 (03:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48860 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Expr.h

index 37f5d66a14d69d262b48ea47f5951d7aa664dfdc..7d1e7929b620b205f5fc28195df72c81fde9d8c5 100644 (file)
@@ -1515,7 +1515,7 @@ public:
   const Expr *getReceiver() const { return SubExprs[RECEIVER]; }
   Expr *getReceiver() { return SubExprs[RECEIVER]; }
   
-  const Selector &getSelector() const { return SelName; }
+  Selector getSelector() const { return SelName; }
   Selector &getSelector() { return SelName; }
 
   const ObjCMethodDecl *getMethodDecl() const { return MethodProto; }