aboutsummaryrefslogtreecommitdiff
path: root/lib/Parse/Parser.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2009-01-28 19:39:02 +0000
committerSteve Naroff <snaroff@apple.com>2009-01-28 19:39:02 +0000
commitb43a50ff1b0b171ece84425b0ad83a9a31f038fa (patch)
tree3b111985bb883a4d00bd6b9547adc04759a88ece /lib/Parse/Parser.cpp
parent64134057d2e859c78e24570fe3cf238975a02b0d (diff)
Name change (isTypeName->getTypeName).
Since it doesn't return a bool, is shouldn't be prefixed with 'is'. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63226 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/Parser.cpp')
-rw-r--r--lib/Parse/Parser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Parse/Parser.cpp b/lib/Parse/Parser.cpp
index 0e1b22202c..33ce08ef48 100644
--- a/lib/Parse/Parser.cpp
+++ b/lib/Parse/Parser.cpp
@@ -737,7 +737,7 @@ Parser::OwningExprResult Parser::ParseSimpleAsm() {
/// inside expressions to be treated as typenames so it will not be called
/// for expressions in C.
/// The benefit for C/ObjC is that a typename will be annotated and
-/// Actions.isTypeName will not be needed to be called again (e.g. isTypeName
+/// Actions.getTypeName will not be needed to be called again (e.g. getTypeName
/// will not be called twice, once to check whether we have a declaration
/// specifier, and another one to get the actual type inside
/// ParseDeclarationSpecifiers).
@@ -757,8 +757,8 @@ bool Parser::TryAnnotateTypeOrScopeToken() {
if (Tok.is(tok::identifier)) {
// Determine whether the identifier is a type name.
- if (TypeTy *Ty = Actions.isTypeName(*Tok.getIdentifierInfo(),
- CurScope, &SS)) {
+ if (TypeTy *Ty = Actions.getTypeName(*Tok.getIdentifierInfo(),
+ CurScope, &SS)) {
// This is a typename. Replace the current token in-place with an
// annotation type token.
Tok.setKind(tok::annot_typename);