diff options
author | Steve Naroff <snaroff@apple.com> | 2009-01-28 16:09:22 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2009-01-28 16:09:22 +0000 |
commit | aec0f37d11069598111997455602144b293f417d (patch) | |
tree | 10c35cb33b2d16517640111e58f6eacb6a5ba74e /clang/lib/Sema/SemaExprCXX.cpp | |
parent | 49f97d7eb2fe5f49956668f10f7a78072b5497e2 (diff) | |
download | bcm5719-llvm-aec0f37d11069598111997455602144b293f417d.tar.gz bcm5719-llvm-aec0f37d11069598111997455602144b293f417d.zip |
Remove 'NamespaceNameOnly' argument to Sema::LookupDecl(). It is unused.
Even though Sema::LookupDecl() is deprecated, it's still used all over the place. Simplifying the interface will make it easier to understand/optimize/convert.
llvm-svn: 63210
Diffstat (limited to 'clang/lib/Sema/SemaExprCXX.cpp')
-rw-r--r-- | clang/lib/Sema/SemaExprCXX.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaExprCXX.cpp b/clang/lib/Sema/SemaExprCXX.cpp index ee40a30ff1c..55317db5024 100644 --- a/clang/lib/Sema/SemaExprCXX.cpp +++ b/clang/lib/Sema/SemaExprCXX.cpp @@ -61,8 +61,7 @@ Sema::ActOnCXXTypeid(SourceLocation OpLoc, SourceLocation LParenLoc, return Diag(OpLoc, diag::err_need_header_before_typeid); IdentifierInfo *TypeInfoII = &PP.getIdentifierTable().get("type_info"); - Decl *TypeInfoDecl = LookupDecl(TypeInfoII, Decl::IDNS_Tag, - 0, StdNs, /*createBuiltins=*/false); + Decl *TypeInfoDecl = LookupDecl(TypeInfoII, Decl::IDNS_Tag, 0, StdNs); RecordDecl *TypeInfoRecordDecl = dyn_cast_or_null<RecordDecl>(TypeInfoDecl); if (!TypeInfoRecordDecl) return Diag(OpLoc, diag::err_need_header_before_typeid); |