]> granicus.if.org Git - clang/commit
Add iterators to LookupResult, allowing one to iterate over the
authorDouglas Gregor <dgregor@apple.com>
Mon, 2 Feb 2009 21:35:47 +0000 (21:35 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 2 Feb 2009 21:35:47 +0000 (21:35 +0000)
commitd863517ab7e936cbc3244a0fc431c8b672f5ece4
treef31d615998370f7144daca39cc2d1e096d4ed6af
parent81922f01352aceeb923c0c3cc8c96b6527322384
Add iterators to LookupResult, allowing one to iterate over the
non-ambiguous name lookup results without allocating any memory, e.g.,
for sets of overloaded functions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63549 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/Sema.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaInit.cpp
lib/Sema/SemaLookup.cpp
test/Sema/init.c