Home | History | Annotate | Download | only in Sema

Lines Matching defs:DECL

63       cast<Decl>(CurContext)->getAvailability() != AR_Unavailable)
112 void Sema::NoteDeletedFunction(FunctionDecl *Decl) {
113 CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(Decl);
118 Diag(Decl->getLocation(), diag::note_implicitly_deleted);
129 Diag(Decl->getLocation(), diag::note_unavailable_here)
130 << 1 << Decl->isDeleted();
150 llvm::DenseMap<Decl *, SmallVector<PartialDiagnosticAt, 1> >::iterator
1804 // found a decl, but that decl is outside the current instance method (i.e.
1806 // this name, if the lookup sucedes, we replace it our current decl.
1832 // If we're referencing an invalid decl, just return this as a silent
1833 // error node. The error diagnostic was already emitted on the decl.
2093 // original decl.
2101 // don't check the decl type at all, since all other decl types
2154 // just build an ordinary singleton decl ref.
2219 // Only create DeclRefExpr's for valid Decl's.
2239 #define DECL(type, base) \
2240 case Decl::type:
2242 llvm_unreachable("invalid value decl kind");
2245 case Decl::ObjCAtDefsField:
2246 case Decl::ObjCIvar:
2251 case Decl::EnumConstant:
2252 case Decl::UnresolvedUsingValue:
2260 case Decl::Field:
2261 case Decl::IndirectField:
2273 case Decl::NonTypeTemplateParm: {
2287 case Decl::Var:
2297 case Decl::ImplicitParam:
2298 case Decl::ParmVar: {
2315 case Decl::Function: {
2347 case Decl::CXXMethod:
2366 case Decl::CXXConversion:
2367 case Decl::CXXDestructor:
2368 case Decl::CXXConstructor:
2390 Decl *currentDecl = getCurFunctionOrMethodDecl();
2908 // alignof decl is always ok.
6459 static bool IsWithinTemplateSpecialization(Decl *D) {
7628 // If the underlying expression isn't a decl ref, give up.
7671 // We have an lvalue with a decl. Make sure the decl is not declared
7703 llvm_unreachable("Unknown/unexpected decl type");
8985 // Set the parameters on the block decl.
8993 // Finally we can process decl attributes.
9607 Decl *LambdaContextDecl,
10435 Decl *D, Expr *E) {
10458 void Sema::MarkAnyDeclReferenced(SourceLocation Loc, Decl *D) {
10488 if (Decl *D = Arg.getAsDecl())