Deleted Added
sdiff udiff text old ( 280031 ) new ( 283526 )
full compact
1//===--- SemaDeclSpec.cpp - Declaration Specifier Semantic Analysis -------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 331 unchanged lines hidden (view full) ---

340 }
341
342 llvm_unreachable("Invalid TypeSpecType!");
343}
344
345bool Declarator::isStaticMember() {
346 assert(getContext() == MemberContext);
347 return getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static ||
348 CXXMethodDecl::isStaticOverloadedOperator(
349 getName().OperatorFunctionId.Operator);
350}
351
352bool DeclSpec::hasTagDefinition() const {
353 if (!TypeSpecOwned)
354 return false;
355 return cast<TagDecl>(getRepAsDecl())->isCompleteDefinition();
356}
357

--- 885 unchanged lines hidden ---