aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/IdentifierTable.h
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-04-16 04:30:16 +0000
committerTed Kremenek <kremenek@apple.com>2008-04-16 04:30:16 +0000
commit97b7f26a92d87e514530a5b652460190ce48c974 (patch)
tree1480d4fff90a9e76ae88039b99c03a067b2abc89 /include/clang/Basic/IdentifierTable.h
parentd59d96facf70642447f1f5916e67ef6a4631fe2c (diff)
Remove uses of "Selector&" and "const Selector&", since Selector is just an
immutable smart pointer (we don't need to pass references, just pass Selector). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49773 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/IdentifierTable.h')
-rw-r--r--include/clang/Basic/IdentifierTable.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/IdentifierTable.h b/include/clang/Basic/IdentifierTable.h
index f64fd6fda4..7c9efc8bc4 100644
--- a/include/clang/Basic/IdentifierTable.h
+++ b/include/clang/Basic/IdentifierTable.h
@@ -231,10 +231,10 @@ public:
return InfoPtr & ArgFlags;
}
/// operator==/!= - Indicate whether the specified selectors are identical.
- bool operator==(const Selector &RHS) const {
+ bool operator==(Selector RHS) const {
return InfoPtr == RHS.InfoPtr;
}
- bool operator!=(const Selector &RHS) const {
+ bool operator!=(Selector RHS) const {
return InfoPtr != RHS.InfoPtr;
}
void *getAsOpaquePtr() const {