/external/clang/lib/Frontend/ |
FrontendAction.cpp | 63 void DeclRead(serialization::DeclID ID, const Decl *D) override { 85 void DeclRead(serialization::DeclID ID, const Decl *D) override { 86 llvm::outs() << "PCH DECL: " << D->getDeclKindName(); 96 /// matches one given in command-line using -error-on-deserialized-decl. 109 void DeclRead(serialization::DeclID ID, const Decl *D) override {
|
/external/clang/lib/Sema/ |
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...] |
SemaExprMember.cpp | 394 static Decl *FindGetterSetterNameDeclFromProtocolList(const ObjCProtocolDecl*PDecl, 405 if (Decl *D = FindGetterSetterNameDeclFromProtocolList(I, Member, Sel, 412 static Decl *FindGetterSetterNameDecl(const ObjCObjectPointerType *QIdTy, 417 Decl *GDecl = nullptr; 509 // decls from classes which are not superclasses, as long as the decl 530 // Note that we use the DC of the decl, not the underlying decl. 676 Decl *ObjCImpDecl, bool HasTemplateArgs); [all...] |
IdentifierResolver.cpp | 16 #include "clang/AST/Decl.h" 68 /// RemoveDecl - Remove the decl from the scope chain. 69 /// The decl must already be part of the decl chain. 78 llvm_unreachable("Didn't find this decl on its identifier's chain!"); 97 bool IdentifierResolver::isDeclInScope(Decl *D, DeclContext *Ctx, Scope *S, 138 /// AddDecl - Link the decl to its shadowed decl chain. 202 /// RemoveDecl - Unlink the decl from its shadowed decl chain [all...] |
SemaDecl.cpp | 54 Sema::DeclGroupPtrTy Sema::ConvertDeclToDeclGroup(Decl *Ptr, Decl *OwnedType) { 56 Decl *Group[2] = { OwnedType, Ptr }; 373 assert(IIDecl && "Didn't find decl"); 383 // will be attached to the enclosing Expr or Decl node). 413 // Builds a fake NNS for the given decl context. 658 // Replace lookup results with just the tag decl. [all...] |
DeclSpec.cpp | 637 Decl *Rep, bool Owned, 646 Decl *Rep, bool Owned, 648 assert(isDeclRep(T) && "T does not store a decl"); 649 // Unlike the other cases, we don't assert that we actually get a decl. 882 void DeclSpec::setProtocolQualifiers(Decl * const *Protos, 887 Decl **ProtoQuals = new Decl*[NP]; 888 memcpy(ProtoQuals, Protos, sizeof(Decl*)*NP); [all...] |
SemaAccess.cpp | 37 /// Returns true on error (when the previous member decl access specifier 38 /// is different from the new member decl access specifier). 565 assert(isa<FunctionDecl>(Friend) && "unknown friend decl kind"); [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...] |
/external/clang/include/clang/Frontend/ |
Utils.h | 38 class Decl;
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
CStringSyntaxChecker.cpp | 181 void checkASTCodeBody(const Decl *D, AnalysisManager& Mgr,
|
DirectIvarAssignment.cpp | 157 static bool isAnnotatedToAllowDirectAssignment(const Decl *D) {
|
NonNullParamChecker.cpp | 48 const Decl *FD = Call.getDecl();
|
ObjCContainersASTChecker.cpp | 165 void checkASTCodeBody(const Decl *D, AnalysisManager& Mgr,
|
/external/clang/tools/libclang/ |
IndexBody.cpp | 142 const Decl *D = *I;
|
IndexDecl.cpp | 322 void IndexingContext::indexDecl(const Decl *D) { 336 void IndexingContext::indexTopLevelDecl(const Decl *D) {
|
/external/clang/lib/CodeGen/ |
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/clang/lib/StaticAnalyzer/Core/ |
PathDiagnostic.cpp | 15 #include "clang/AST/Decl.h" 110 PathDiagnostic::PathDiagnostic(StringRef CheckName, const Decl *declWithIssue, 114 const Decl *DeclToUnique) 394 const Decl *XD = X.getDeclWithIssue(); 397 const Decl *YD = Y.getDeclWithIssue(); 582 PathDiagnosticLocation::createBegin(const Decl *D, 886 const Decl *caller = CE.getLocationContext()->getDecl(); 895 const Decl *caller) { 918 static bool describeCodeDecl(raw_ostream &Out, const Decl *D, [all...] |
CallEvent.cpp | 143 if (const Decl *callee = getDecl()) 186 const Decl *D = getDecl(); 187 assert(D && "Cannot get a program point without a statement or decl"); 226 if (const Decl *D = getDecl()) { 243 QualType CallEvent::getDeclaredResultType(const Decl *D) { 272 bool CallEvent::isVariadic(const Decl *D) { 299 assert(ParamDecl && "Formal parameter has no decl?"); 422 // Do we have a decl at all? 423 const Decl *D = getDecl(); 450 // Find the decl for this method in that class [all...] |
/external/clang/unittests/Tooling/ |
ToolingTest.cpp | 85 for (std::vector<Decl *>::iterator i = AST->top_level_begin(), 221 virtual bool shouldSkipFunctionBody(Decl *D) {
|
/external/clang/lib/AST/ |
StmtPrinter.cpp | 66 void PrintRawDecl(Decl *D); 123 void StmtPrinter::PrintRawDecl(Decl *D) { 128 SmallVector<Decl*, 2> Decls(S->decls()); 129 Decl::printGroup(Decls.data(), Decls.size(), OS, Policy, IndentLevel); 462 if (Decl *DS = catchStmt->getCatchParamDecl()) 512 if (Decl *ExDecl = Node->getExceptionDecl()) [all...] |
/external/clang/lib/Parse/ |
ParseDeclCXX.cpp | 57 Decl *Parser::ParseNamespace(unsigned Context, 175 Decl *NamespcDecl = 221 Decl *NamespcDecl = 238 Decl *Parser::ParseNamespaceAlias(SourceLocation NamespaceLoc, 283 Decl *Parser::ParseLinkage(ParsingDeclSpec &DS, unsigned Context) { 288 Decl *LinkageSpec = 364 Decl *Parser::ParseUsingDirectiveOrDeclaration(unsigned Context, 368 Decl **OwnedType) { 412 Decl *Parser::ParseUsingDirective(unsigned Context, 437 // If there was invalid namespace name, skip to end of decl, and eat ';' [all...] |
ParseDecl.cpp | 44 Decl **OwnedType, 527 /// [MS] decl-specifier: 528 /// __declspec ( extended-decl-modifier-seq ) 530 /// [MS] extended-decl-modifier-seq: 531 /// extended-decl-modifier[opt] 532 /// extended-decl-modifier extended-decl-modifier-seq [all...] |
/external/clang/include/clang/ASTMatchers/ |
ASTMatchersInternal.h | 39 #include "clang/AST/Decl.h" 558 static_assert(std::is_same<DeclMatcherT, Matcher<Decl>>::value, 562 explicit HasDeclarationMatcher(const Matcher<Decl> &InnerMatcher) 601 /// \brief Extracts the Decl of the callee of a CallExpr and returns whether 608 /// \brief Extracts the Decl of the constructor call and returns whether the 626 bool matchesDecl(const Decl *Node, 632 const Matcher<Decl> InnerMatcher; 640 std::is_same<T, Decl>::value || 666 /// FIXME: Currently we only allow Stmt and Decl nodes to start a traversal. 713 static_assert(std::is_base_of<Decl, T>::value | [all...] |
/external/clang/include/clang/AST/ |
RecursiveASTVisitor.h | 18 #include "clang/AST/Decl.h" 79 /// Decl, or Type) is reached. 85 /// 1. TraverseDecl(Decl *x) does task #1. It is the entry point 186 /// Traverse*Decl() based on the argument's dynamic type. 190 bool TraverseDecl(Decl *D); 395 // Declare Traverse*() for all concrete Decl classes. 396 #define ABSTRACT_DECL(DECL) 397 #define DECL(CLASS, BASE) bool Traverse##CLASS##Decl(CLASS##Decl *D) [all...] |
/external/clang/lib/Serialization/ |
ASTWriterDecl.cpp | 49 void Visit(Decl *D); 51 void VisitDecl(Decl *D); 144 void ASTDeclWriter::Visit(Decl *D) { 164 void ASTDeclWriter::VisitDecl(Decl *D) { 165 Writer.AddDeclRef(cast_or_null<Decl>(D->getDeclContext()), Record); 166 Writer.AddDeclRef(cast_or_null<Decl>(D->getLexicalDeclContext()), Record); 500 // Abstract class (no need to define a stable serialization::DECL code). 629 // Abstract class (no need to define a stable serialization::DECL code). [all...] |