diff options
author | Jeffrey Yasskin <jyasskin@google.com> | 2010-04-07 23:29:58 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@google.com> | 2010-04-07 23:29:58 +0000 |
commit | edc287751a4b05e3b4d8ff2b38fa30c5b59a548b (patch) | |
tree | 6944cd02cf8be5aa01f3c3159fb6f096eb5831ce /lib/Sema/SemaDecl.cpp | |
parent | 1e3c6f4ab525beb31390f6b2f1154bd5c63bfb3f (diff) |
Fix some redundant errors by changing CXXScopeSpec::isSet calls into
isNotEmpty calls.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100722 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r-- | lib/Sema/SemaDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index 3556057173..590a014c92 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -70,7 +70,7 @@ Sema::TypeTy *Sema::getTypeName(IdentifierInfo &II, SourceLocation NameLoc, QualType ObjectType = QualType::getFromOpaquePtr(ObjectTypePtr); if (ObjectType->isRecordType()) LookupCtx = computeDeclContext(ObjectType); - } else if (SS && SS->isSet()) { + } else if (SS && SS->isNotEmpty()) { LookupCtx = computeDeclContext(*SS, false); if (!LookupCtx) { |