summaryrefslogtreecommitdiff
path: root/lib/Basic/TokenKinds.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-02-27 17:53:17 +0000
committerDouglas Gregor <dgregor@apple.com>2009-02-27 17:53:17 +0000
commitb2fb6de9070fea9abc56c8e8d5469066e964cefe (patch)
tree43e23d4d24ae483d9f8113d57f06fedb19d239c5 /lib/Basic/TokenKinds.cpp
parent51a75d0cc7651753399efdc3176feaee6214c3ca (diff)
downloadclang-b2fb6de9070fea9abc56c8e8d5469066e964cefe.tar.gz
Clean up and document code modification hints.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65641 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/TokenKinds.cpp')
-rw-r--r--lib/Basic/TokenKinds.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Basic/TokenKinds.cpp b/lib/Basic/TokenKinds.cpp
index 3d47863e85..4afeaf01b7 100644
--- a/lib/Basic/TokenKinds.cpp
+++ b/lib/Basic/TokenKinds.cpp
@@ -28,9 +28,7 @@ const char *tok::getTokenName(enum TokenKind Kind) {
return TokNames[Kind];
}
-/// \brief Determines the spelling of simple punctuation tokens like
-/// '!' or '%', and returns NULL for literal and annotation tokens.
-const char *tok::getTokenSpelling(enum TokenKind Kind) {
+const char *tok::getTokenSimpleSpelling(enum TokenKind Kind) {
switch (Kind) {
case tok::l_square: return "[";
case tok::r_square: return "]";