summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/IdentifierTable.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2008-11-10 13:38:07 +0000
committerDouglas Gregor <dgregor@apple.com>2008-11-10 13:38:07 +0000
commit6cf0806e75fba6857c1c5df97f9881bf45e1ab42 (patch)
tree222aa1c92d650aeb6f24f90f0f551c5f9247e415 /clang/lib/Basic/IdentifierTable.cpp
parentbba5c7c629565ccc78a58368bf320cbdbb579d7a (diff)
downloadbcm5719-llvm-6cf0806e75fba6857c1c5df97f9881bf45e1ab42.tar.gz
bcm5719-llvm-6cf0806e75fba6857c1c5df97f9881bf45e1ab42.zip
Some cleanups to the declaration/checking of overloaded operators in C++. Thanks to Sebastian for the review
llvm-svn: 58986
Diffstat (limited to 'clang/lib/Basic/IdentifierTable.cpp')
-rw-r--r--clang/lib/Basic/IdentifierTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Basic/IdentifierTable.cpp b/clang/lib/Basic/IdentifierTable.cpp
index e17f48ad3bd..2b9d7e38456 100644
--- a/clang/lib/Basic/IdentifierTable.cpp
+++ b/clang/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"
OpenPOWER on IntegriCloud