summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.h
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2009-12-02 08:25:40 +0000
committerJohn McCall <rjmccall@apple.com>2009-12-02 08:25:40 +0000
commit67c008707453eb62cec8e6c249b71b13934c153e (patch)
tree8c0531e58a629a5dde29eb7c437b64dad5e1f3f6 /clang/lib/Sema/Sema.h
parenta510597ef93c8e75ca68d339d75dbae8a96d0e37 (diff)
downloadbcm5719-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.h2
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.
OpenPOWER on IntegriCloud