Searched refs:Dcl (Results 1 - 20 of 20) sorted by relevance

/external/clang/lib/ARCMigrate/
H A DTransAutoreleasePool.cpp44 Decl *Dcl; member in class:__anon1397::ReleaseCollector
49 : Dcl(D), Releases(releases) { }
58 if (DE->getDecl() == Dcl)
94 clearRefsIn(info.Dcl, info.Refs);
115 clearUnavailableDiags(info.Dcl);
116 Pass.TA.removeStmt(info.Dcl);
175 info.Dcl = DclS;
420 DeclStmt *Dcl; member in struct:__anon1398::AutoreleasePoolRewriter::PoolVarInfo
424 PoolVarInfo() : Dcl(nullptr) { }
H A DTransGCAttrs.cpp118 Attr.Dcl = D;
187 if (Attr.FullyMigratable && Attr.Dcl) {
345 if (Attr.Dcl) {
347 Attr.Dcl->dump();
H A DTransforms.cpp228 ValueDecl *Dcl; member in class:__anon1411::ReferenceCollector
233 : Dcl(D), Refs(refs) { }
236 if (E->getDecl() == Dcl)
H A DTransforms.h91 Decl *Dcl; member in struct:clang::arcmt::trans::MigrationContext::GCAttrOccurrence
/external/clang/tools/libclang/
H A DCIndexHigh.cpp49 const Decl *Dcl; member in struct:__anon3674::FindFileIdRefVisitData
60 Dcl = getCanonical(D);
61 getTopOverriddenMethods(TU, Dcl, TopMethods);
102 if (D == Dcl)
222 const Decl *Dcl = cxcursor::getCursorDecl(declCursor); local
223 if (!Dcl)
226 FindFileIdRefVisitData data(TU, FID, Dcl,
230 if (const DeclContext *DC = Dcl->getParentFunctionOrMethod()) {
H A DCXIndexDataConsumer.h51 const NamedDecl *Dcl; member in struct:clang::cxindex::EntityInfo
H A DIndexing.cpp813 return Entity->IndexCtx->getClientEntity(Entity->Dcl);
821 Entity->IndexCtx->setClientEntity(Entity->Dcl, client);
H A DCXIndexDataConsumer.cpp995 const NamedDecl *BaseD = BaseList.BaseEntities[i].Dcl;
1148 EntityInfo.Dcl = D;
/external/clang/include/clang/Serialization/
H A DASTWriter.h313 const Decl *Dcl; member in union:clang::ASTWriter::DeclUpdate::__anon1339
322 DeclUpdate(unsigned Kind) : Kind(Kind), Dcl(nullptr) {}
323 DeclUpdate(unsigned Kind, const Decl *Dcl) : Kind(Kind), Dcl(Dcl) {} argument
336 const Decl *getDecl() const { return Dcl; }
/external/clang/lib/Sema/
H A DSemaDeclCXX.cpp863 static bool CheckConstexprDeclStmt(Sema &SemaRef, const FunctionDecl *Dcl, argument
891 << isa<CXXConstructorDecl>(Dcl);
905 << isa<CXXConstructorDecl>(Dcl);
924 << isa<CXXConstructorDecl>(Dcl)
932 isa<CXXConstructorDecl>(Dcl)))
938 << isa<CXXConstructorDecl>(Dcl);
946 << isa<CXXConstructorDecl>(Dcl);
960 << isa<CXXConstructorDecl>(Dcl);
970 /// \param Dcl The constexpr constructor being checked.
977 const FunctionDecl *Dcl,
976 CheckConstexprCtorInitializer(Sema &SemaRef, const FunctionDecl *Dcl, FieldDecl *Field, llvm::SmallSet<Decl*, 16> &Inits, bool &Diagnosed) argument
1015 CheckConstexprFunctionStmt(Sema &SemaRef, const FunctionDecl *Dcl, Stmt *S, SmallVectorImpl<SourceLocation> &ReturnStmts, SourceLocation &Cxx1yLoc) argument
1133 CheckConstexprFunctionBody(const FunctionDecl *Dcl, Stmt *Body) argument
7486 ActOnFinishNamespaceDef(Decl *Dcl, SourceLocation RBrace) argument
13021 SetDeclDeleted(Decl *Dcl, SourceLocation DelLoc) argument
13080 SetDeclDefaulted(Decl *Dcl, SourceLocation DefaultLoc) argument
13362 Decl *Dcl = ActOnDeclarator(S, D); local
[all...]
H A DSemaDeclObjC.cpp2005 Decl *Dcl = Decls[i]; local
2006 if (!Dcl)
2008 if (Dcl->getDeclContext()->isFileContext())
2009 Dcl->setTopLevelDeclInObjCContainer();
2010 DeclsInGroup.push_back(Dcl);
H A DSemaDecl.cpp4790 Decl *Dcl = HandleDeclarator(S, D, MultiTemplateParamsArg()); local
4793 Dcl && Dcl->getDeclContext()->isFileContext())
4794 Dcl->setTopLevelDeclInObjCContainer();
4796 return Dcl;
/external/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp270 void RewriteInterfaceDecl(ObjCInterfaceDecl *Dcl);
271 void RewriteImplementationDecl(Decl *Dcl);
278 void RewriteCategoryDecl(ObjCCategoryDecl *Dcl);
279 void RewriteProtocolDecl(ObjCProtocolDecl *Dcl);
288 void RewriteObjCQualifiedInterfaceTypes(Decl *Dcl);
2105 void RewriteObjC::RewriteObjCQualifiedInterfaceTypes(Decl *Dcl) { argument
2109 if (VarDecl *VD = dyn_cast<VarDecl>(Dcl)) {
2113 else if (FunctionDecl *FD = dyn_cast<FunctionDecl>(Dcl)) {
2124 else if (FieldDecl *FD = dyn_cast<FieldDecl>(Dcl)) {
H A DRewriteModernObjC.cpp322 void RewriteInterfaceDecl(ObjCInterfaceDecl *Dcl);
323 void RewriteImplementationDecl(Decl *Dcl);
330 void RewriteCategoryDecl(ObjCCategoryDecl *Dcl);
331 void RewriteProtocolDecl(ObjCProtocolDecl *Dcl);
340 void RewriteObjCQualifiedInterfaceTypes(Decl *Dcl);
2190 void RewriteModernObjC::RewriteObjCQualifiedInterfaceTypes(Decl *Dcl) { argument
2194 if (VarDecl *VD = dyn_cast<VarDecl>(Dcl)) {
2198 else if (FunctionDecl *FD = dyn_cast<FunctionDecl>(Dcl)) {
2209 else if (FieldDecl *FD = dyn_cast<FieldDecl>(Dcl)) {
2213 else if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(Dcl)) {
[all...]
/external/clang/lib/Parse/
H A DParseExprCXX.cpp1808 DeclResult Dcl = Actions.ActOnCXXConditionDeclaration(getCurScope(), local
1810 if (Dcl.isInvalid())
1812 Decl *DeclOut = Dcl.get();
H A DParseObjc.cpp2271 P.Diag(Dcl->getLocStart(), diag::note_objc_container_start)
2281 P.Actions.DefaultSynthesizeProperties(P.getCurScope(), Dcl);
H A DParseExpr.cpp1694 CurParsedObjCImpl ? CurParsedObjCImpl->Dcl
/external/clang/include/clang/Parse/
H A DParser.h1346 Decl *Dcl; member in struct:clang::Parser::ObjCImplParsingDataRAII
1352 : P(parser), Dcl(D), HasCFunction(false) {
/external/clang/include/clang/Sema/
H A DSema.h1764 void ActOnInitializerError(Decl *Dcl);
4195 void ActOnFinishNamespaceDef(Decl *Dcl, SourceLocation RBrace);
5088 /// initializer for the declaration 'Dcl'.
5089 /// After this method is called, according to [C++ 3.4.1p13], if 'Dcl' is a
5092 void ActOnCXXEnterDeclInitializer(Scope *S, Decl *Dcl);
5095 /// initializer for the declaration 'Dcl'.
5096 void ActOnCXXExitDeclInitializer(Scope *S, Decl *Dcl);
/external/clang/lib/AST/
H A DExprConstant.cpp9483 if (const VarDecl *Dcl = dyn_cast<VarDecl>(D)) {
9484 if (!Dcl->getType()->isIntegralOrEnumerationType())
9490 if (Dcl->getAnyInitializer(VD) && VD->checkInitIsICE())

Completed in 493 milliseconds