Home
last modified time | relevance | path

Searched refs:ContextDecl (Results 1 – 7 of 7) sorted by relevance

/external/clang/lib/Sema/
DSemaLambda.cpp103 Decl *ContextDecl = ExprEvalContexts.back().LambdaContextDecl; in startLambdaDefinition() local
115 if (ContextDecl) { in startLambdaDefinition()
116 if (ParmVarDecl *Param = dyn_cast<ParmVarDecl>(ContextDecl)) { in startLambdaDefinition()
121 } else if (VarDecl *Var = dyn_cast<VarDecl>(ContextDecl)) { in startLambdaDefinition()
124 } else if (isa<FieldDecl>(ContextDecl)) { in startLambdaDefinition()
140 !(ContextDecl && isa<ParmVarDecl>(ContextDecl))) || in startLambdaDefinition()
147 ContextDecl = 0; in startLambdaDefinition()
154 ContextDecl = 0; in startLambdaDefinition()
168 Class->setLambdaMangling(ManglingNumber, ContextDecl); in startLambdaDefinition()
DSemaExprCXX.cpp658 Decl *ContextDecl, in CXXThisScopeRAII() argument
663 if (!Enabled || !ContextDecl) in CXXThisScopeRAII()
667 if (ClassTemplateDecl *Template = dyn_cast<ClassTemplateDecl>(ContextDecl)) in CXXThisScopeRAII()
670 Record = cast<CXXRecordDecl>(ContextDecl); in CXXThisScopeRAII()
/external/clang/include/clang/AST/
DDeclCXX.h513 NumExplicitCaptures(0), ManglingNumber(0), ContextDecl(0), Captures(0),
543 Decl *ContextDecl;
1536 return getLambdaData().ContextDecl;
1541 void setLambdaMangling(unsigned ManglingNumber, Decl *ContextDecl) {
1543 getLambdaData().ContextDecl = ContextDecl;
/external/clang/lib/AST/
DDecl.cpp1075 if (Decl *ContextDecl = Record->getLambdaContextDecl()) { in getLVForDecl() local
1076 if (isa<ParmVarDecl>(ContextDecl)) in getLVForDecl()
1077 DC = ContextDecl->getDeclContext()->getRedeclContext(); in getLVForDecl()
1079 return getLVForDecl(cast<NamedDecl>(ContextDecl), computation); in getLVForDecl()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp1139 Lambda.ContextDecl = ReadDecl(Record, Idx); in ReadCXXDefinitionData()
DASTWriter.cpp4780 AddDeclRef(Lambda.ContextDecl, Record); in AddCXXDefinitionData()
/external/clang/include/clang/Sema/
DSema.h3841 CXXThisScopeRAII(Sema &S, Decl *ContextDecl, unsigned CXXThisTypeQuals,