aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaLookup.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-05-20 02:26:51 +0000
committerDouglas Gregor <dgregor@apple.com>2010-05-20 02:26:51 +0000
commit4e58c25aa579d30cd1e4b0bfb36321c14652be12 (patch)
tree09fbb9616ac92b7b2d343f54391a59ecc5dbcdb6 /lib/Sema/SemaLookup.cpp
parent68dd3ee3b5ae5b7694b4a21e34b4355431ed0457 (diff)
Remove accidental commit
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104207 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaLookup.cpp')
-rw-r--r--lib/Sema/SemaLookup.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/Sema/SemaLookup.cpp b/lib/Sema/SemaLookup.cpp
index d876e6047e..774a82b7c7 100644
--- a/lib/Sema/SemaLookup.cpp
+++ b/lib/Sema/SemaLookup.cpp
@@ -1626,21 +1626,15 @@ addAssociatedClassesAndNamespaces(QualType T,
// member, if any; and its direct and indirect base
// classes. Its associated namespaces are the namespaces in
// which its associated classes are defined.
- if (const RecordType *ClassType = T->getAs<RecordType>()) {
+ if (const RecordType *ClassType = T->getAs<RecordType>())
if (CXXRecordDecl *ClassDecl
= dyn_cast<CXXRecordDecl>(ClassType->getDecl())) {
- // The __builtin_va_list type does not participate in ADL.
- if (ClassDecl->getIdentifier() &&
- ClassDecl->getIdentifier()->isStr("__va_list_tag"))
- return;
-
addAssociatedClassesAndNamespaces(ClassDecl, Context,
AssociatedNamespaces,
AssociatedClasses);
return;
}
- }
-
+
// -- If T is an enumeration type, its associated namespace is
// the namespace in which it is defined. If it is class
// member, its associated class is the member’s class; else