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 | d69246bd5badd17babae14aa202caaf2152dd3d5 (patch) | |
tree | 05bd4162a176f10702cb1d6bc5c082a4631e0885 /clang/lib/Parse/ParseDecl.cpp | |
parent | 9edcc802c3ad481e730fe6caa0ddf737e04d058e (diff) | |
download | bcm5719-llvm-d69246bd5badd17babae14aa202caaf2152dd3d5.tar.gz bcm5719-llvm-d69246bd5badd17babae14aa202caaf2152dd3d5.zip |
Some cleanups for C++ operator overloading
llvm-svn: 59443
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
-rw-r--r-- | clang/lib/Parse/ParseDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseDecl.cpp b/clang/lib/Parse/ParseDecl.cpp index 99bebe62585..baa510485a5 100644 --- a/clang/lib/Parse/ParseDecl.cpp +++ b/clang/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]). |