diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-06-20 00:51:54 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-06-20 00:51:54 +0000 |
commit | 9cfbe48a7a20a217fdb2920b29b67ae7941cb116 (patch) | |
tree | 43a0039929a24ceb9f232089e83fda23c07c7ff1 /lib/Sema/SemaLookup.cpp | |
parent | 6aed766538c9d996b709354386c861037b9eedba (diff) |
Parsing and AST support for using declarations, from John Thompson!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73812 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaLookup.cpp')
-rw-r--r-- | lib/Sema/SemaLookup.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Sema/SemaLookup.cpp b/lib/Sema/SemaLookup.cpp index 52de4e6f4c..37e1df3a19 100644 --- a/lib/Sema/SemaLookup.cpp +++ b/lib/Sema/SemaLookup.cpp @@ -1151,8 +1151,10 @@ Sema::LookupParsedName(Scope *S, const CXXScopeSpec *SS, Name, NameKind, RedeclarationOnly); } - return LookupName(S, Name, NameKind, RedeclarationOnly, - AllowBuiltinCreation, Loc); + LookupResult result(LookupName(S, Name, NameKind, RedeclarationOnly, + AllowBuiltinCreation, Loc)); + + return(result); } |