diff options
author | Douglas Gregor <dgregor@apple.com> | 2008-11-10 13:38:07 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2008-11-10 13:38:07 +0000 |
commit | 02bcd4cd1a19121da12884aa4943226f72a81e6c (patch) | |
tree | 2a0230d3dc3b5695a786cdef75fed1939aa520d4 /lib/Basic | |
parent | cc128b32429494fe04ed36d7ba30c011cb4e173a (diff) |
Some cleanups to the declaration/checking of overloaded operators in C++. Thanks to Sebastian for the review
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58986 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic')
-rw-r--r-- | lib/Basic/IdentifierTable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Basic/IdentifierTable.cpp b/lib/Basic/IdentifierTable.cpp index e17f48ad3b..2b9d7e3845 100644 --- a/lib/Basic/IdentifierTable.cpp +++ b/lib/Basic/IdentifierTable.cpp @@ -165,7 +165,7 @@ void IdentifierTable::AddKeywords(const LangOptions &LangOpts) { /// AddOverloadedOperators - Register the name of all C++ overloadable /// operators ("operator+", "operator[]", etc.) void IdentifierTable::AddOverloadedOperators() { -#define OVERLOADED_OPERATOR(Name,Spelling,Token) \ +#define OVERLOADED_OPERATOR(Name,Spelling,Token, Unary, Binary, MemberOnly) \ OverloadedOperators[OO_##Name] = &get(Spelling); \ OverloadedOperators[OO_##Name]->setOverloadedOperatorID(OO_##Name); #include "clang/Basic/OperatorKinds.def" |