/external/clang/lib/AST/ |
InheritViz.cpp | 17 #include "clang/AST/Decl.h" 94 const CXXRecordDecl *Decl 96 for (const auto &Base : Decl->bases()) {
|
DeclBase.cpp | 10 // This file implements the Decl and DeclContext classes. 18 #include "clang/AST/Decl.h" 40 #define DECL(DERIVED, BASE) static int n##DERIVED##s = 0; 41 #define ABSTRACT_DECL(DECL) 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 { 80 #define DECL(DERIVED, BASE) case DERIVED: return #DERIVED [all...] |
Expr.cpp | 50 Decl *D = Ty->getDecl(); 403 // Filter out cases where the found Decl is the same as the value refenenced. 453 std::string PredefinedExpr::ComputeName(IdentType IT, const Decl *CurrentDecl) { 498 const FunctionDecl *Decl = FD; 500 Decl = Pattern; 501 const FunctionType *AFT = Decl->getType()->getAs<FunctionType>(); 521 for (unsigned i = 0, e = Decl->getNumParams(); i != e; ++i) { 523 POut << Decl->getParamDecl(i)->getType().stream(Policy); 624 if (DC->isFunctionOrMethod() && (DC->getDeclKind() != Decl::Captured)) { 625 const Decl *D = Decl::castFromDeclContext(DC) [all...] |
ExprConstant.cpp | 235 void addDeclUnchecked(const Decl *D, bool Virtual = false) { [all...] |
ASTContext.cpp | 63 RawComment *ASTContext::getRawCommentForDeclNoCache(const Decl *D) const { 113 // decl-specifier-seq of some other declaration, it doesn't get comment 155 // If location of the tag decl is inside a macro, but the spelling of 157 // macro like NS_ENUM is being used to define the tag decl. In that 159 // attach the comment to the tag decl. 263 const Decl *adjustDeclToTemplate(const Decl *D) { 308 static_cast<const Decl*>(PU.get<ClassTemplateDecl *>()) : 309 static_cast<const Decl*>( 333 const Decl *D [all...] |
/frameworks/compile/slang/ |
slang_rs_check_ast.cpp | 40 clang::FunctionDecl *Decl; 41 Decl = clang::dyn_cast_or_null<clang::FunctionDecl>(E->getCalleeDecl()); 43 if (!Decl || Decl->getNameAsString() != std::string("rsSetElementAt")) { 214 // Only check the initializer if the decl is already ok.
|
/external/clang/lib/ASTMatchers/Dynamic/ |
Registry.cpp | 133 REGISTER_MATCHER(decl); 368 ASTNodeKind::getFromNodeKind<Decl>(), 433 std::string Decl; 434 llvm::raw_string_ostream OS(Decl);
|
/external/clang/lib/CodeGen/ |
CGDebugInfo.h | 72 llvm::DIType Decl; 74 ObjCInterfaceCacheEntry(const ObjCInterfaceType *Type, llvm::DIType Decl, 76 : Type(Type), Decl(Decl), Unit(Unit) {} 92 llvm::DenseMap<const Decl *, llvm::WeakVH> RegionMap; 107 llvm::DenseMap<const Decl *, llvm::WeakVH> DeclCache; 110 llvm::DenseMap<const Decl *, llvm::WeakVH> StaticDataMemberCache; 145 llvm::DICompositeType getOrCreateFunctionType(const Decl *D, QualType FnType, 161 void CollectCXXMemberFunctions(const CXXRecordDecl *Decl, 166 void CollectCXXBases(const CXXRecordDecl *Decl, [all...] |
CGExprConstant.cpp | 393 BaseInfo(const CXXRecordDecl *Decl, CharUnits Offset, unsigned Index) 394 : Decl(Decl), Offset(Offset), Index(Index) { 397 const CXXRecordDecl *Decl; 437 bool IsPrimaryBase = Layout.getPrimaryBase() == Base.Decl; 438 Build(Val.getStructBase(Base.Index), Base.Decl, IsPrimaryBase, 861 if (const ValueDecl *Decl = LVBase.dyn_cast<const ValueDecl*>()) { 862 if (Decl->hasAttr<WeakRefAttr>()) 863 return CGM.GetWeakRefReference(Decl); 864 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(Decl)) 1240 const ValueDecl *decl = cast<DeclRefExpr>(uo->getSubExpr())->getDecl(); local [all...] |
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARCContract.cpp | 142 Constant *Decl = EP.get(ARCRuntimeEntryPoints::EPT_RetainRV); 143 cast<CallInst>(Retain)->setCalledFunction(Decl); 193 Constant *Decl = EP.get(Class == IC_AutoreleaseRV ? 196 Retain->setCalledFunction(Decl); 277 Constant *Decl = EP.get(ARCRuntimeEntryPoints::EPT_StoreStrong); 278 CallInst *StoreStrong = CallInst::Create(Decl, Args, "", Store);
|
ObjCARCOpts.cpp | [all...] |
/external/clang/include/clang/Sema/ |
DelayedDiagnostic.h | 170 return DeprecationData.Decl; 214 const NamedDecl *Decl;
|
Sema.h | 97 class Decl; 223 // the new decl. If the new decl has external linkage, we will 224 // link it with the hidden decl (which also has external linkage) and 255 /// \brief Generally null except when we temporarily switch decl contexts, 398 llvm::SmallPtrSet<const Decl*, 4> ParsingInitForAutoVars; 619 SmallVector<Decl*,2> WeakTopLevelDecl; 624 /// to lookup file scope declarations in the "ordinary" C decl namespace. 753 Decl *ManglingContextDecl; 773 Decl *ManglingContextDecl [all...] |
/external/clang/lib/Parse/ |
ParseTemplate.cpp | 26 Decl * 59 Decl * 115 SmallVector<Decl*, 4> TemplateParams; 158 Decl * 193 Decl *Decl = Actions.ParsedFreeStandingDeclSpec( 198 DS.complete(Decl); 199 return Decl; 268 Decl *ThisDecl = ParseDeclarationAfterDeclarator(DeclaratorInfo, 296 SmallVectorImpl<Decl*> &TemplateParams [all...] |
ParseStmt.cpp | 210 DeclGroupPtrTy Decl = ParseDeclaration(Stmts, Declarator::BlockContext, 212 return Actions.ActOnDeclStmt(Decl, DeclStart, DeclEnd); 910 SmallVector<Decl *, 8> DeclsInGroup; 960 // FIXME: Save the __extension__ on the decl as a node somehow? [all...] |
/external/lldb/source/Expression/ |
ClangASTSource.cpp | 186 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*)%p:", current_id, original_ctx, original_decl) 449 Decl *decl = *iter; local 778 D *decl; member in class:TaggedASTDecl [all...] |
/external/clang/include/clang/AST/ |
DeclBase.h | 10 // This file defines the Decl and DeclContext interfaces. 68 /// Decl - This represents one declaration (or definition), e.g. a variable, 71 class Decl { 73 /// \brief Lists the kind of concrete classes of Decl. 75 #define DECL(DERIVED, BASE) DERIVED, 76 #define ABSTRACT_DECL(DECL) 85 /// decl-derived type that will be filled in later (e.g., by some 99 /// Decl currently provides 15 bits of IDNS bits. 201 llvm::PointerIntPair<Decl *, 2, unsigned> NextInContextAndBits; 214 /// the DeclContext where the Decl was declared [all...] |
Type.h | 3313 TagDecl * decl; member in class:clang::FunctionType::ExtInfo::FunctionProtoType::TagType [all...] |
/external/clang/lib/Sema/ |
SemaExprObjC.cpp | 466 NamedDecl *Decl = LookupSingleName(TUScope, NSStringId, 468 NSStringDecl = dyn_cast_or_null<ObjCInterfaceDecl>(Decl); [all...] |
SemaStmt.cpp | 70 // If we have an invalid decl, just return an error. 84 Decl *decl = DG.getSingleDecl(); 85 if (!decl || decl->isInvalidDecl()) 89 VarDecl *var = dyn_cast<VarDecl>(decl); 91 Diag(decl->getLocation(), diag::err_non_variable_decl_in_for); 92 decl->setInvalidDecl(); 231 if (const Decl *FD = CE->getCalleeDecl()) { 314 // Note that __extension__ can be around a decl [all...] |
SemaTemplate.cpp | 447 void Sema::DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *PrevDecl) { 463 /// AdjustDeclIfTemplate - If the given decl happens to be a template, reset 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, [all...] |
SemaDeclCXX.cpp | 84 NamedDecl *Decl = DRE->getDecl(); 85 if (ParmVarDecl *Param = dyn_cast<ParmVarDecl>(Decl)) { 97 } else if (VarDecl *VDecl = dyn_cast<VarDecl>(Decl)) { 171 // FIXME: If the call to this decl is using any of its default arguments, we 298 Sema::ActOnParamDefaultArgument(Decl *param, SourceLocation EqualLoc, 334 void Sema::ActOnParamUnparsedDefaultArgument(Decl *param, 347 void Sema::ActOnParamDefaultArgumentError(Decl *param) { 456 // Ignore default parameters of old decl if they are not in 608 if (Old->getFriendObjectKind() == Decl::FOK_Undeclared && [all...] |
SemaOverload.cpp | 53 // DiagnoseUseOfDecl to accept both the FoundDecl and the decl 879 // it does return false, MatchedDecl will point to the decl that New 880 // cannot be overloaded with. This decl may be a UsingShadowDecl on 956 // Optimistically assume that an unresolved using decl wil [all...] |
/external/clang/lib/Serialization/ |
ASTReader.cpp | [all...] |
/cts/tools/signature-tools/lib/ |
stringtemplate.jar | |