diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-02-02 21:35:47 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-02-02 21:35:47 +0000 |
commit | d863517ab7e936cbc3244a0fc431c8b672f5ece4 (patch) | |
tree | f31d615998370f7144daca39cc2d1e096d4ed6af /lib/Sema/SemaInit.cpp | |
parent | 81922f01352aceeb923c0c3cc8c96b6527322384 (diff) |
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
Diffstat (limited to 'lib/Sema/SemaInit.cpp')
-rw-r--r-- | lib/Sema/SemaInit.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Sema/SemaInit.cpp b/lib/Sema/SemaInit.cpp index 8bc3496a19..5ef6de3bf3 100644 --- a/lib/Sema/SemaInit.cpp +++ b/lib/Sema/SemaInit.cpp @@ -1342,6 +1342,8 @@ bool Sema::CheckValueInitialization(QualType Type, SourceLocation Loc) { // [...] A program that calls for default-initialization or // value-initialization of an entity of reference type is // ill-formed. [...] + // FIXME: Once we have code that goes through this path, add an + // actual diagnostic :) } return false; |