diff options
author | Douglas Gregor <dgregor@apple.com> | 2008-11-17 16:14:12 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2008-11-17 16:14:12 +0000 |
commit | 43c7bad105f742988e7ca40564285c83bea854a5 (patch) | |
tree | 62f5c4fbbd0115f41804b3f6a213c727e72ba741 /lib/Parse/ParseDecl.cpp | |
parent | 1adbab67751f44147a0d259b684cf52bae142ef3 (diff) |
Some cleanups for C++ operator overloading
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59443 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseDecl.cpp')
-rw-r--r-- | lib/Parse/ParseDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp index 99bebe6258..baa510485a 100644 --- a/lib/Parse/ParseDecl.cpp +++ b/lib/Parse/ParseDecl.cpp @@ -1464,7 +1464,7 @@ void Parser::ParseDirectDeclarator(Declarator &D) { SourceLocation OperatorLoc = Tok.getLocation(); // First try the name of an overloaded operator - if (IdentifierInfo *II = MaybeParseOperatorFunctionId()) { + if (IdentifierInfo *II = TryParseOperatorFunctionId()) { D.SetIdentifier(II, OperatorLoc); } else { // This must be a conversion function (C++ [class.conv.fct]). |