diff options
author | John McCall <rjmccall@apple.com> | 2009-12-02 08:25:40 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2009-12-02 08:25:40 +0000 |
commit | 67c008707453eb62cec8e6c249b71b13934c153e (patch) | |
tree | 8c0531e58a629a5dde29eb7c437b64dad5e1f3f6 /clang/lib/Sema/Sema.h | |
parent | a510597ef93c8e75ca68d339d75dbae8a96d0e37 (diff) | |
download | bcm5719-llvm-67c008707453eb62cec8e6c249b71b13934c153e.tar.gz bcm5719-llvm-67c008707453eb62cec8e6c249b71b13934c153e.zip |
Rip out the last remaining implicit use of OverloadedFunctionDecl in Sema:
LookupResult::getAsSingleDecl() is no more. Shift Sema::LookupSingleName to
return null on overloaded results.
llvm-svn: 90309
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r-- | clang/lib/Sema/Sema.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index 8503887a617..98880e9d5f8 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -1160,7 +1160,7 @@ public: } /// \brief Look up a name, looking for a single declaration. Return - /// null if no unambiguous results were found. + /// null if the results were absent, ambiguous, or overloaded. /// /// It is preferable to use the elaborated form and explicitly handle /// ambiguity and overloaded. |