summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/OperatorKinds.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-11-04 00:56:37 +0000
committerDouglas Gregor <dgregor@apple.com>2009-11-04 00:56:37 +0000
commitca1bdd7c269a2390d43c040a60511edd017ee130 (patch)
tree3310f54698515fedd46cc4c59468b2ea7bcd1759 /include/clang/Basic/OperatorKinds.h
parentd0fe5366d4040545d5f72c547ae54e2c21e4cb68 (diff)
Implement support for parsing dependent template-ids that refer to
overloaded operators, e.g., p->template operator+<T>() git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85989 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/OperatorKinds.h')
-rw-r--r--include/clang/Basic/OperatorKinds.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/clang/Basic/OperatorKinds.h b/include/clang/Basic/OperatorKinds.h
index 790b75ba3a..c0a95051a7 100644
--- a/include/clang/Basic/OperatorKinds.h
+++ b/include/clang/Basic/OperatorKinds.h
@@ -26,7 +26,10 @@ enum OverloadedOperatorKind {
NUM_OVERLOADED_OPERATORS
};
-
+/// \brief Retrieve the spelling of the given overloaded operator, without
+/// the preceding "operator" keyword.
+const char *getOperatorSpelling(OverloadedOperatorKind Operator);
+
} // end namespace clang
#endif