Searched defs:Decl (Results 1 - 25 of 41) sorted by last modified time

12

/external/llvm/lib/IR/
H A DDIBuilder.cpp200 DIScope Decl,
203 Context, Decl.getRef(), Line, Name,
1015 Value *Val, MDNode *Decl) {
1029 DIDescriptor(Decl)
1103 MDNode *TParams, MDNode *Decl) {
1109 Flags, isOptimized, Fn, TParams, Decl);
1119 MDNode *TParams, MDNode *Decl) {
1141 Decl,
199 createImportedDeclaration(DIScope Context, DIScope Decl, unsigned Line, StringRef Name) argument
1009 createStaticVariable(DIDescriptor Context, StringRef Name, StringRef LinkageName, DIFile F, unsigned LineNumber, DITypeRef Ty, bool isLocalToUnit, Value *Val, MDNode *Decl) argument
1097 createFunction(DIScopeRef Context, StringRef Name, StringRef LinkageName, DIFile File, unsigned LineNo, DICompositeType Ty, bool isLocalToUnit, bool isDefinition, unsigned ScopeLine, unsigned Flags, bool isOptimized, Function *Fn, MDNode *TParams, MDNode *Decl) argument
1113 createFunction(DIDescriptor Context, StringRef Name, StringRef LinkageName, DIFile File, unsigned LineNo, DICompositeType Ty, bool isLocalToUnit, bool isDefinition, unsigned ScopeLine, unsigned Flags, bool isOptimized, Function *Fn, MDNode *TParams, MDNode *Decl) argument
/external/llvm/lib/Transforms/ObjCARC/
H A DARCRuntimeEntryPoints.h126 Constant *getVoidRetI8XEntryPoint(Constant *&Decl, argument
128 if (Decl)
129 return Decl;
138 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
141 Constant *getI8XRetI8XEntryPoint(Constant *& Decl, argument
144 if (Decl)
145 return Decl;
157 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
160 Constant *getI8XRetI8XXI8XEntryPoint(Constant *&Decl, argument
162 if (Decl)
[all...]
H A DObjCARCContract.cpp142 Constant *Decl = EP.get(ARCRuntimeEntryPoints::EPT_RetainRV); local
143 cast<CallInst>(Retain)->setCalledFunction(Decl);
193 Constant *Decl = EP.get(Class == IC_AutoreleaseRV ? local
196 Retain->setCalledFunction(Decl);
277 Constant *Decl = EP.get(ARCRuntimeEntryPoints::EPT_StoreStrong); local
278 CallInst *StoreStrong = CallInst::Create(Decl, Args, "", Store);
H A DObjCARCOpts.cpp1390 Constant *Decl = EP.get(ARCRuntimeEntryPoints::EPT_Release); local
1391 CallInst *NewCall = CallInst::Create(Decl, Call->getArgOperand(0), "",
2308 Constant *Decl = EP.get(ARCRuntimeEntryPoints::EPT_Retain); local
2309 CallInst *Call = CallInst::Create(Decl, MyArg, "", InsertPt);
2322 Constant *Decl = EP.get(ARCRuntimeEntryPoints::EPT_Release); local
2323 CallInst *Call = CallInst::Create(Decl, MyArg, "", InsertPt);
2711 Constant *Decl = EP.get(ARCRuntimeEntryPoints::EPT_Retain); local
2712 CallInst *CI = CallInst::Create(Decl, EarlierCall, "", Call);
2740 Constant *Decl = EP.get(ARCRuntimeEntryPoints::EPT_Retain); local
2741 CallInst *CI = CallInst::Create(Decl, EarlierCal
[all...]
/external/lldb/source/Expression/
H A DClangASTSource.cpp186 ASTDumper dumper((Decl*)tag_decl);
301 ASTDumper dumper((Decl*)tag_decl);
315 ASTDumper dumper((Decl*)interface_decl);
324 ASTDumper dumper((Decl*)interface_decl);
368 bool (*predicate)(Decl::Kind),
369 llvm::SmallVectorImpl<Decl*> &decls)
375 const Decl *context_decl = dyn_cast<Decl>(decl_context);
407 Decl *original_decl = NULL;
415 log->Printf(" FELD[%u] Original decl (ASTContext*)%p (Decl*)
1717 clang::NamedDecl *Decl = VarDecl::Create(*ast, local
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.help.base_3.5.2.v201011171123.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/clang/lib/Sema/
H A DSemaExpr.cpp69 cast<Decl>(CurContext)->getAvailability() != AR_Unavailable)
78 const Decl *DC = cast<Decl>(S.getCurObjCLexicalContext());
139 void Sema::NoteDeletedFunction(FunctionDecl *Decl) { argument
140 assert(Decl->isDeleted());
142 CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(Decl);
147 Diag(Decl->getLocation(), diag::note_implicitly_deleted);
158 if (CXXConstructorDecl *CD = dyn_cast<CXXConstructorDecl>(Decl)) {
161 Diag(Decl->getLocation(), diag::note_inherited_deleted_here);
173 Diag(Decl
[all...]
H A DSemaExprObjC.cpp466 NamedDecl *Decl = LookupSingleName(TUScope, NSStringId, local
468 NSStringDecl = dyn_cast_or_null<ObjCInterfaceDecl>(Decl);
H A DSemaOverload.cpp1107 return FD->isUnavailable() && !cast<Decl>(CurContext)->isUnavailable();
5789 NamedDecl *Decl = FoundDecl.getDecl(); local
5790 CXXRecordDecl *ActingContext = cast<CXXRecordDecl>(Decl->getDeclContext());
5792 if (isa<UsingShadowDecl>(Decl))
5793 Decl = cast<UsingShadowDecl>(Decl)->getTargetDecl();
5795 if (FunctionTemplateDecl *TD = dyn_cast<FunctionTemplateDecl>(Decl)) {
5804 AddMethodCandidate(cast<CXXMethodDecl>(Decl), FoundDecl, ActingContext,
8455 void MaybeEmitInheritedConstructorNote(Sema &S, Decl *Fn) {
8772 void DiagnoseArityMismatch(Sema &S, Decl *
12038 BuildForRangeBeginEndCall(Scope *S, SourceLocation Loc, SourceLocation RangeLoc, VarDecl *Decl, BeginEndFunction BEF, const DeclarationNameInfo &NameInfo, LookupResult &MemberLookup, OverloadCandidateSet *CandidateSet, Expr *Range, ExprResult *CallExpr) argument
[all...]
H A DSemaStmt.cpp84 Decl *decl = DG.getSingleDecl();
231 if (const Decl *FD = CE->getCalleeDecl()) {
325 Decl *D = *cast<DeclStmt>(Elts[i])->decl_begin();
442 Sema::ActOnIfStmt(SourceLocation IfLoc, FullExprArg CondVal, Decl *CondVar,
580 Decl *CondVar) {
1206 Decl *CondVar, Stmt *Body) {
1587 Stmt *First, FullExprArg second, Decl *secondVar,
1805 static bool FinishForRangeVarDecl(Sema &SemaRef, VarDecl *Decl, Expr *Init, argument
1811 SemaRef.DeduceAutoType(Decl->getTypeSourceInfo(), Init, InitType) ==
1815 Decl
1868 VarDecl *Decl = VarDecl::Create(SemaRef.Context, DC, Loc, Loc, II, Type, local
[all...]
H A DSemaTemplate.cpp447 void Sema::DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *PrevDecl) {
466 TemplateDecl *Sema::AdjustDeclIfTemplate(Decl *&D) {
547 Decl *Sema::ActOnTypeParameter(Scope *S, bool Typename,
668 Decl *Sema::ActOnNonTypeTemplateParameter(Scope *S, Declarator &D,
739 Decl *Sema::ActOnTemplateTemplateParameter(Scope* S,
819 Decl **Params, unsigned NumParams,
2121 ClassTemplateSpecializationDecl *Decl local
2123 if (!Decl) {
2127 Decl = ClassTemplateSpecializationDecl::Create(Context,
2135 ClassTemplate->AddSpecialization(Decl, InsertPo
2772 VarTemplateSpecializationDecl *Decl = BuildVarTemplateInstantiation( local
2808 DeclResult Decl = CheckVarTemplateId(Template, TemplateLoc, NameInfo.getLoc(), local
[all...]
H A DSemaTemplateInstantiateDecl.cpp1 //===--- SemaTemplateInstantiateDecl.cpp - C++ Template Decl Instantiation ===/
28 static bool isDeclWithinFunction(const Decl *D) {
76 const AlignedAttr *Aligned, Decl *New, bool IsPackExpansion) {
96 const AlignedAttr *Aligned, Decl *New) {
134 const EnableIfAttr *A, const Decl *Tmpl, Decl *New) {
168 const Decl *Tmpl, Decl *New,
210 Decl *
215 Decl *
2276 VisitClassScopeFunctionSpecializationDecl( ClassScopeFunctionSpecializationDecl *Decl) argument
3143 InstantiateExceptionSpec(SourceLocation PointOfInstantiation, FunctionDecl *Decl) argument
[all...]
/external/clang/lib/Serialization/
H A DASTReader.cpp2686 if (Decl *D = GetExistingDecl(ID)) {
3092 if (Decl *D = GetExistingDecl(ID))
3325 Decl *D = Names.HiddenDecls[I];
5258 TypedefNameDecl *Decl = ReadDeclAs<TypedefNameDecl>(*Loc.F, Record, Idx); local
5262 return Context.getTypedefType(Decl, Canonical);
5957 Decl *ASTReader::GetExternalDecl(uint32_t ID) {
5961 void ASTReader::CompleteRedeclChain(const Decl *D) {
5967 PendingIncompleteDeclChains.push_back(const_cast<Decl*>(D));
5977 cast<Decl>(DC)->getMostRecentDecl();
6055 ModuleFile *ASTReader::getOwningModuleFile(const Decl *
[all...]
/external/clang/unittests/Frontend/
H A DFrontendActionTest.cpp55 virtual bool VisitNamedDecl(NamedDecl *Decl) { argument
56 decl_names_.push_back(Decl->getQualifiedNameAsString());
/external/clang/unittests/Tooling/
H A DRecursiveASTVisitorTest.cpp65 bool VisitNamedDecl(NamedDecl *Decl) { argument
68 Decl->getNameForDiagnostic(OS,
69 Decl->getASTContext().getPrintingPolicy(),
71 Match(OS.str(), Decl->getLocation());
/external/clang/include/clang/AST/
H A DASTContext.h21 #include "clang/AST/Decl.h"
272 /// wasting space in the Decl class.
273 llvm::DenseMap<const Decl*, AttrVec*> DeclAttrs;
278 llvm::DenseMap<Decl*, Decl*> MergedDecls;
453 /// 'NodeT' can be one of Decl, Stmt, Type, TypeLoc,
564 const Decl *getOriginalDecl() const LLVM_READONLY {
568 void setOriginalDecl(const Decl *Orig) {
574 const Decl *OriginalDecl;
582 mutable llvm::DenseMap<const Decl *, RawCommentAndCacheFlag
1062 getTypeDeclType(const TypeDecl *Decl, const TypeDecl *PrevDecl = nullptr) const argument
[all...]
H A DDeclBase.h10 // This file defines the Decl and DeclContext interfaces.
68 /// Decl - This represents one declaration (or definition), e.g. a variable,
71 class Decl { class in namespace:clang
73 /// \brief Lists the kind of concrete classes of Decl.
99 /// Decl currently provides 15 bits of IDNS bits.
201 llvm::PointerIntPair<Decl *, 2, unsigned> NextInContextAndBits;
214 /// the DeclContext where the Decl was declared.
314 Decl(Kind DK, DeclContext *DC, SourceLocation L) function in class:clang::Decl
325 Decl(Kind DK, EmptyShell Empty) function in class:clang::Decl
335 virtual ~Decl();
[all...]
H A DDeclTemplate.h248 NamedDecl *Decl)
249 : NamedDecl(DK, DC, L, Name), TemplatedDecl(Decl),
261 static bool classof(const Decl *D) { return classofKind(D->getKind()); }
627 TemplateParameterList *Params, NamedDecl *Decl)
628 : TemplateDecl(DK, DC, L, Name, Params, Decl), redeclarable_base(C),
726 static bool classof(const Decl *D) { return classofKind(D->getKind()); }
779 NamedDecl *Decl)
781 Decl) {}
879 NamedDecl *Decl);
885 static bool classof(const Decl *
625 RedeclarableTemplateDecl(Kind DK, ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, TemplateParameterList *Params, NamedDecl *Decl) argument
777 FunctionTemplateDecl(ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, TemplateParameterList *Params, NamedDecl *Decl) argument
1842 ClassTemplateDecl(ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, TemplateParameterList *Params, NamedDecl *Decl) argument
2104 TypeAliasTemplateDecl(ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, TemplateParameterList *Params, NamedDecl *Decl) argument
2677 VarTemplateDecl(ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, TemplateParameterList *Params, NamedDecl *Decl) argument
[all...]
H A DType.h3122 UnresolvedUsingTypenameDecl *Decl;
3127 Decl(const_cast<UnresolvedUsingTypenameDecl*>(D)) {}
3131 UnresolvedUsingTypenameDecl *getDecl() const { return Decl; }
3141 return Profile(ID, Decl);
3151 TypedefNameDecl *Decl;
3158 Decl(const_cast<TypedefNameDecl*>(D)) {
3164 TypedefNameDecl *getDecl() const { return Decl; }
3866 CXXRecordDecl *Decl; member in class:clang::FunctionType::ExtInfo::FunctionProtoType::InjectedClassNameType
3888 Decl(D), InjectedType(TST) {
4423 mutable ObjCInterfaceDecl *Decl; member in class:clang::FunctionType::ExtInfo::FunctionProtoType::ObjCInterfaceType
[all...]
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h121 typedef internal::Matcher<Decl> DeclarationMatcher;
157 const internal::VariadicAllOfMatcher<Decl> decl;
170 const internal::VariadicDynCastAllOfMatcher<Decl, NamedDecl> namedDecl;
181 const internal::VariadicDynCastAllOfMatcher<Decl, NamespaceDecl> namespaceDecl;
191 Decl,
201 Decl,
215 Decl,
227 const internal::VariadicDynCastAllOfMatcher<Decl, DeclaratorDecl>
238 const internal::VariadicDynCastAllOfMatcher<Decl, ParmVarDecl> parmVarDecl;
252 Decl,
3549 AST_MATCHER_P_OVERLOAD(Decl, equalsNode, const Decl*, Other, 0) argument
[all...]
/external/clang/include/clang/Sema/
H A DDelayedDiagnostic.h170 return DeprecationData.Decl;
214 const NamedDecl *Decl; member in struct:clang::sema::DelayedDiagnostic::DD
H A DSema.h97 class Decl;
398 llvm::SmallPtrSet<const Decl*, 4> ParsingInitForAutoVars;
619 SmallVector<Decl*,2> WeakTopLevelDecl;
753 Decl *ManglingContextDecl;
773 Decl *ManglingContextDecl,
800 Decl *&ManglingContextDecl);
1056 const Decl *D = nullptr,
1101 SmallVectorImpl<Decl *> &WeakTopLevelDecls() { return WeakTopLevelDecl; }
1386 // Symbol table / Decl tracking callbacks: SemaDecl.cpp.
1395 DeclGroupPtrTy ConvertDeclToDeclGroup(Decl *Pt
7148 DeclaratorDecl *Decl; member in struct:clang::Sema::SectionInfo
7152 SectionInfo(DeclaratorDecl *Decl, SourceLocation PragmaSectionLocation, int SectionFlags) argument
[all...]
/external/clang/lib/ARCMigrate/
H A DObjCMT.cpp49 void migrateDecl(Decl *D);
66 void migrateCFAnnotation(ASTContext &Ctx, const Decl *Decl);
99 llvm::SmallVector<const Decl *, 8> CFFunctionIBCandidates;
161 bool canModify(const Decl *D) {
169 return canModify(cast<Decl>(MD->getDeclContext()));
272 void ObjCMigrateASTConsumer::migrateDecl(Decl *D) {
1008 static bool AttributesMatch(const Decl *Decl1, const Decl *Decl2,
1274 const Decl *FirstF
1299 migrateCFAnnotation(ASTContext &Ctx, const Decl *Decl) argument
[all...]
/external/clang/lib/AST/
H A DASTContext.cpp63 RawComment *ASTContext::getRawCommentForDeclNoCache(const Decl *D) const {
263 const Decl *adjustDeclToTemplate(const Decl *D) {
308 static_cast<const Decl*>(PU.get<ClassTemplateDecl *>()) :
309 static_cast<const Decl*>(
333 const Decl *D,
334 const Decl **OriginalDecl) const {
339 llvm::DenseMap<const Decl *, RawCommentAndCacheFlags>::iterator Pos =
353 const Decl *OriginalDeclForRC = nullptr;
355 llvm::DenseMap<const Decl *, RawCommentAndCacheFlag
2924 getInjectedClassNameType(CXXRecordDecl *Decl, QualType TST) const argument
2975 getTypedefType(const TypedefNameDecl *Decl, QualType Canonical) const argument
3628 getObjCInterfaceType(const ObjCInterfaceDecl *Decl, ObjCInterfaceDecl *PrevDecl) const argument
4796 const BlockDecl *Decl = Expr->getBlockDecl(); local
4849 getObjCEncodingForFunctionDecl(const FunctionDecl *Decl, std::string& S) argument
4906 getObjCEncodingForMethodDecl(const ObjCMethodDecl *Decl, std::string& S, bool Extended) const argument
6132 setObjCConstantStringInterface(ObjCInterfaceDecl *Decl) argument
[all...]
H A DDeclBase.cpp10 // This file implements the Decl and DeclContext classes.
18 #include "clang/AST/Decl.h"
44 void Decl::updateOutOfDate(IdentifierInfo &II) const {
48 void *Decl::operator new(std::size_t Size, const ASTContext &Context,
66 void *Decl::operator new(std::size_t Size, const ASTContext &Ctx,
72 Module *Decl::getOwningModuleSlow() const {
77 const char *Decl::getDeclKindName() const {
86 void Decl::setInvalidDecl(bool Invalid) {
100 #define DECL(DERIVED, BASE) case Decl::DERIVED: return #DERIVED;
106 bool Decl
[all...]

Completed in 567 milliseconds

12