Searched refs:Decl (Results 151 - 175 of 291) sorted by relevance

1234567891011>>

/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/AST/
H A DCommentSema.h26 class Decl;
77 void setDecl(const Decl *D);
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/
H A DCheckerManager.h26 class Decl;
171 void runCheckersOnASTDecl(const Decl *D, AnalysisManager& mgr,
175 void runCheckersOnASTBody(const Decl *D, AnalysisManager& mgr,
397 typedef CheckerFn<void (const Decl *, AnalysisManager&, BugReporter &)>
400 typedef bool (*HandlesDeclFunc)(const Decl *D);
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Analysis/
H A DProgramPoint.h529 ImplicitCallPoint(const Decl *D, SourceLocation Loc, Kind K,
533 const Decl *getDecl() const { return static_cast<const Decl *>(getData2()); }
553 PreImplicitCall(const Decl *D, SourceLocation Loc, const LocationContext *L,
570 PostImplicitCall(const Decl *D, SourceLocation Loc, const LocationContext *L,
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriterDecl.cpp49 void Visit(Decl *D);
51 void VisitDecl(Decl *D);
165 void AddFirstDeclFromEachModule(const Decl *D, bool IncludeLocal) {
166 llvm::MapVector<ModuleFile*, const Decl*> Firsts;
168 for (const Decl *R = D->getMostRecentDecl(); R; R = R->getPreviousDecl()) {
190 ArrayRef<Decl> getPartialSpecializations(FunctionTemplateDecl::Common *) {
194 template<typename Decl>
195 void AddTemplateSpecializations(Decl *D) {
235 void RegisterTemplateSpecialization(const Decl *Template,
236 const Decl *Specializatio
[all...]
/freebsd-11.0-release/contrib/llvm/tools/lldb/include/lldb/Symbol/
H A DClangASTContext.h150 GetCompleteDecl (clang::Decl *decl)
156 DumpDeclHiearchy (clang::Decl *decl);
162 DeclsAreEquivalent (clang::Decl *lhs_decl, clang::Decl *rhs_decl);
166 clang::Decl *decl);
252 static clang::Decl *
255 clang::Decl *source_decl);
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h39 #include "clang/AST/Decl.h"
660 static_assert(std::is_same<DeclMatcherT, Matcher<Decl>>::value,
664 explicit HasDeclarationMatcher(const Matcher<Decl> &InnerMatcher)
717 /// \brief Extracts the Decl of the callee of a CallExpr and returns whether
724 /// \brief Extracts the Decl of the constructor call and returns whether the
742 bool matchesDecl(const Decl *Node, ASTMatchFinder *Finder,
755 std::is_same<T, Decl>::value ||
781 /// FIXME: Currently we only allow Stmt and Decl nodes to start a traversal.
828 static_assert(std::is_base_of<Decl, T>::value ||
844 static_assert(std::is_base_of<Decl,
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransAutoreleasePool.cpp44 Decl *Dcl;
48 ReleaseCollector(Decl *D, SmallVectorImpl<ObjCMessageExpr *> &releases)
79 void transformBody(Stmt *body, Decl *ParentD) {
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGValue.h129 Decl, member in class:clang::CodeGen::AlignmentSource
146 return AlignmentSource::Decl;
431 AlignmentSource::Decl);
H A DCGCall.h37 class Decl;
H A DCGExprConstant.cpp414 BaseInfo(const CXXRecordDecl *Decl, CharUnits Offset, unsigned Index) argument
415 : Decl(Decl), Offset(Offset), Index(Index) {
418 const CXXRecordDecl *Decl; member in struct:__anon3791::__anon3792::BaseInfo
458 bool IsPrimaryBase = Layout.getPrimaryBase() == Base.Decl;
459 Build(Val.getStructBase(Base.Index), Base.Decl, IsPrimaryBase,
984 if (const ValueDecl *Decl = LVBase.dyn_cast<const ValueDecl*>()) {
985 if (Decl->hasAttr<WeakRefAttr>())
986 return CGM.GetWeakRefReference(Decl);
987 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(Decl))
[all...]
H A DCGExpr.cpp370 AlignmentSource::Decl);
439 AlignmentSource::Decl);
456 return MakeAddrLValue(Object, M->getType(), AlignmentSource::Decl);
822 InnerSource != AlignmentSource::Decl) {
1080 /// Decl::isUsableInConstantExpressions because we do want it to apply
1931 return CGF.MakeAddrLValue(Addr, T, AlignmentSource::Decl);
1973 LV = CGF.MakeAddrLValue(Addr, T, AlignmentSource::Decl);
1995 return CGF.MakeAddrLValue(V, E->getType(), Alignment, AlignmentSource::Decl);
2061 return MakeAddrLValue(Address(Val, Alignment), T, AlignmentSource::Decl);
2081 CapLVal.getType(), AlignmentSource::Decl);
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDecl.cpp53 Sema::DeclGroupPtrTy Sema::ConvertDeclToDeclGroup(Decl *Ptr, Decl *OwnedType) {
55 Decl *Group[2] = { OwnedType, Ptr };
427 // will be attached to the enclosing Expr or Decl node).
1084 Decl *D) {
1147 void Sema::ActOnReenterFunctionContext(Scope* S, Decl *D) {
1600 assert(isa<NamedDecl>(TmpD) && "Decl isn't NamedDecl?");
1769 // Create Decl objects for each parameter, adding them to the
1803 TypedefNameDecl *Decl,
1825 Decl
1802 filterNonConflictingPreviousTypedefDecls(Sema &S, TypedefNameDecl *Decl, LookupResult &Previous) argument
11031 ActOnSkippedFunctionBody(Decl *Decl) argument
[all...]
H A DSemaTemplate.cpp448 void Sema::DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *PrevDecl) {
467 TemplateDecl *Sema::AdjustDeclIfTemplate(Decl *&D) {
548 Decl *Sema::ActOnTypeParameter(Scope *S, bool Typename,
665 Decl *Sema::ActOnNonTypeTemplateParameter(Scope *S, Declarator &D,
737 Decl *Sema::ActOnTemplateTemplateParameter(Scope* S,
817 ArrayRef<Decl *> Params,
2204 ClassTemplateSpecializationDecl *Decl local
2206 if (!Decl) {
2210 Decl = ClassTemplateSpecializationDecl::Create(Context,
2218 ClassTemplate->AddSpecialization(Decl, InsertPo
2840 VarTemplateSpecializationDecl *Decl = BuildVarTemplateInstantiation( local
2876 DeclResult Decl = CheckVarTemplateId(Template, TemplateLoc, NameInfo.getLoc(), local
[all...]
H A DSemaExprMember.cpp378 static Decl *FindGetterSetterNameDeclFromProtocolList(const ObjCProtocolDecl*PDecl,
389 if (Decl *D = FindGetterSetterNameDeclFromProtocolList(I, Member, Sel,
396 static Decl *FindGetterSetterNameDecl(const ObjCObjectPointerType *QIdTy,
401 Decl *GDecl = nullptr;
682 Decl *ObjCImpDecl, bool HasTemplateArgs);
1206 Decl *ObjCImpDecl, bool HasTemplateArgs) {
1322 Decl *D = cast<Decl>(IV->getDeclContext());
1446 if (Decl *PMDecl =
1467 if (Decl *SDec
[all...]
H A DIdentifierResolver.cpp16 #include "clang/AST/Decl.h"
97 bool IdentifierResolver::isDeclInScope(Decl *D, DeclContext *Ctx, Scope *S,
275 Decl *MostRecent = Existing->getMostRecentDecl();
414 assert(!isDeclPtr(InfoPtr) && "Decl with wrong id ?");
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseDeclCXX.cpp119 Decl *NSAlias = ParseNamespaceAlias(NamespaceLoc, IdentLoc, Ident, DeclEnd);
185 Decl *NamespcDecl =
236 Decl *NamespcDecl =
254 Decl *Parser::ParseNamespaceAlias(SourceLocation NamespaceLoc,
299 Decl *Parser::ParseLinkage(ParsingDeclSpec &DS, unsigned Context) {
304 Decl *LinkageSpec =
380 Decl *Parser::ParseUsingDirectiveOrDeclaration(unsigned Context,
384 Decl **OwnedType) {
428 Decl *Parser::ParseUsingDirective(unsigned Context,
492 Decl *Parse
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Frontend/
H A DUtils.h38 class Decl;
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h569 void examineStackFrames(const Decl *D, const LocationContext *LCtx,
573 bool shouldInlineCall(const CallEvent &Call, const Decl *D,
576 bool inlineCall(const CallEvent &Call, const Decl *D, NodeBuilder &Bldr,
587 const CallEvent &Call, const Decl *D, NodeBuilder &Bldr,
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DCStringSyntaxChecker.cpp180 void checkASTCodeBody(const Decl *D, AnalysisManager& Mgr,
H A DDirectIvarAssignment.cpp156 static bool isAnnotatedToAllowDirectAssignment(const Decl *D) {
H A DObjCContainersASTChecker.cpp164 void checkASTCodeBody(const Decl *D, AnalysisManager& Mgr,
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSemaInternal.h54 inline bool DeclAttrsMatchCUDAMode(const LangOptions &LangOpts, Decl *D) {
92 inline InheritableAttr *getDLLAttr(Decl *D) {
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/AST/
H A DASTDumper.cpp55 // Decl kind names (VarDecl, FunctionDecl, etc)
88 // Decl names
215 void dumpDecl(const Decl *D);
227 void dumpBareDeclRef(const Decl *Node);
228 void dumpDeclRef(const Decl *Node, const char *Label = nullptr);
699 void ASTDumper::dumpBareDeclRef(const Decl *D) {
715 void ASTDumper::dumpDeclRef(const Decl *D, const char *Label) {
759 dumpBareDeclRef(cast<Decl>(DC));
764 dumpPointer(cast<Decl>(Primary));
793 std::function<void(Decl *)> DumpWithPre
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DPathDiagnostic.cpp15 #include "clang/AST/Decl.h"
108 PathDiagnostic::PathDiagnostic(StringRef CheckName, const Decl *declWithIssue,
112 const Decl *DeclToUnique)
391 const Decl *XD = X.getDeclWithIssue();
394 const Decl *YD = Y.getDeclWithIssue();
583 PathDiagnosticLocation::createBegin(const Decl *D,
887 const Decl *caller = CE.getLocationContext()->getDecl();
896 const Decl *caller) {
919 static bool describeCodeDecl(raw_ostream &Out, const Decl *D,
H A DCallEvent.cpp161 if (const Decl *callee = getDecl())
204 const Decl *D = getDecl();
244 if (const Decl *D = getDecl()) {
261 QualType CallEvent::getDeclaredResultType(const Decl *D) {
290 bool CallEvent::isVariadic(const Decl *D) {
463 const Decl *D = getDecl();

Completed in 175 milliseconds

1234567891011>>