| /freebsd/contrib/llvm-project/lldb/source/API/ |
| H A D | SBDeclaration.cpp | 30 SBDeclaration::SBDeclaration(const lldb_private::Declaration *lldb_object_ptr) { in SBDeclaration() 32 m_opaque_up = std::make_unique<Declaration>(*lldb_object_ptr); in SBDeclaration() 44 const lldb_private::Declaration &lldb_object_ref) { in SetDeclaration() 112 lldb_private::Declaration *lhs_ptr = m_opaque_up.get(); in operator ==() 113 lldb_private::Declaration *rhs_ptr = rhs.m_opaque_up.get(); in operator ==() 116 return lldb_private::Declaration::Compare(*lhs_ptr, *rhs_ptr) == 0; in operator ==() 124 lldb_private::Declaration *lhs_ptr = m_opaque_up.get(); in operator !=() 125 lldb_private::Declaration *rhs_ptr = rhs.m_opaque_up.get(); in operator !=() 128 return lldb_private::Declaration::Compare(*lhs_ptr, *rhs_ptr) != 0; in operator !=() 133 const lldb_private::Declaration *SBDeclaration::operator->() const { in operator ->() [all …]
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
| H A D | Declaration.h | 24 class Declaration { 27 Declaration() = default; 42 Declaration(const FileSpec &file_spec, uint32_t line = 0, 47 Declaration(const Declaration *decl_ptr) in Declaration() function 79 static int Compare(const Declaration &lhs, const Declaration &rhs); 94 bool FileAndLineEqual(const Declaration &declaration, bool full) const; 193 bool operator==(const Declaration &lhs, const Declaration &rhs);
|
| /freebsd/contrib/llvm-project/lldb/source/Core/ |
| H A D | Declaration.cpp | 14 void Declaration::Dump(Stream *s, bool show_fullpaths) const { in Dump() 35 bool Declaration::DumpStopContext(Stream *s, bool show_fullpaths) const { in DumpStopContext() 56 size_t Declaration::MemorySize() const { return sizeof(Declaration); } in MemorySize() 58 int Declaration::Compare(const Declaration &a, const Declaration &b) { in Compare() 73 bool Declaration::FileAndLineEqual(const Declaration &declaration, in FileAndLineEqual() 79 bool lldb_private::operator==(const Declaration &lhs, const Declaration &rhs) { in operator ==()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Tooling/Syntax/ |
| H A D | Nodes.h | 95 Declaration, enumerator 354 class Declaration : public Tree { 356 Declaration(NodeKind K) : Tree(K) {} in Declaration() function 361 class UnknownDeclaration final : public Declaration { 363 UnknownDeclaration() : Declaration(NodeKind::UnknownDeclaration) {} in UnknownDeclaration() 368 class EmptyDeclaration final : public Declaration { 370 EmptyDeclaration() : Declaration(NodeKind::EmptyDeclaration) {} in EmptyDeclaration() 376 class StaticAssertDeclaration final : public Declaration { 378 StaticAssertDeclaration() : Declaration(NodeKind::StaticAssertDeclaration) {} in StaticAssertDeclaration() 386 class LinkageSpecificationDeclaration final : public Declaration { [all …]
|
| H A D | Nodes.td | 239 def Declaration : External<Tree> {} 240 def UnknownDeclaration : External<Declaration> {} 241 def EmptyDeclaration : External<Declaration> {} 242 def StaticAssertDeclaration : External<Declaration> {} 243 def LinkageSpecificationDeclaration : External<Declaration> {} 244 def SimpleDeclaration : External<Declaration> {} 245 def TemplateDeclaration : External<Declaration> {} 246 def ExplicitTemplateInstantiation : External<Declaration> {} 247 def NamespaceDefinition : External<Declaration> {} 248 def NamespaceAliasDefinition : External<Declaration> {} [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/ |
| H A D | API.h | 247 DeclarationFragments Declaration; member 285 const DocComment &Comment, DeclarationFragments Declaration, 290 Comment(Comment), Declaration(Declaration), SubHeading(SubHeading), in USR() 386 DeclarationFragments Declaration, in NamespaceRecord() 389 Linkage, Comment, Declaration, SubHeading, in NamespaceRecord() 406 DeclarationFragments Declaration, in GlobalFunctionRecord() 410 std::move(Availability), Linkage, Comment, Declaration, in GlobalFunctionRecord() 418 DeclarationFragments Declaration, in GlobalFunctionRecord() 422 Linkage, Comment, Declaration, SubHeading, in GlobalFunctionRecord() 442 DeclarationFragments Declaration, in GlobalFunctionTemplateRecord() [all …]
|
| H A D | ExtractAPIVisitor.h | 313 DeclarationFragments Declaration = in VisitVarDecl() local 321 AvailabilityInfo::createFromDecl(Decl), Linkage, Comment, Declaration, in VisitVarDecl() 327 AvailabilityInfo::createFromDecl(Decl), Linkage, Comment, Declaration, in VisitVarDecl() 423 DeclarationFragments Declaration = in VisitEnumDecl() local 438 AvailabilityInfo::createFromDecl(Decl), Comment, Declaration, in VisitEnumDecl() 554 DeclarationFragments Declaration = in VisitNamespaceDecl() local 560 AvailabilityInfo::createFromDecl(Decl), Linkage, Comment, Declaration, in VisitNamespaceDecl() 600 DeclarationFragments Declaration = in VisitRecordDecl() local 608 AvailabilityInfo::createFromDecl(Decl), Comment, Declaration, in VisitRecordDecl() 613 AvailabilityInfo::createFromDecl(Decl), Comment, Declaration, in VisitRecordDecl() [all …]
|
| H A D | DeclarationFragments.h | 97 const Decl *Declaration; member 100 const Decl *Declaration) in Fragment() 102 Declaration(Declaration) {} in Fragment() 140 const Decl *Declaration = nullptr) { 147 Fragments.emplace_back(Spelling, Kind, PreciseIdentifier, Declaration);
|
| /freebsd/contrib/llvm-project/clang/include/clang/Driver/ |
| H A D | Multilib.h | 105 struct Declaration; 110 Declaration *Decl; 113 struct Declaration { struct 118 Declaration() = default; argument 119 Declaration(const Declaration &); 120 Declaration(Declaration &&); 121 Declaration &operator=(const Declaration &); argument 122 Declaration &operator=(Declaration &&); argument 148 SmallVector<custom_flag::Declaration> CustomFlagDecls; 156 SmallVector<custom_flag::Declaration> &&CustomFlagDecls = {})
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/API/ |
| H A D | SBDeclaration.h | 51 lldb_private::Declaration *get(); 56 const lldb_private::Declaration *operator->() const; 58 lldb_private::Declaration &ref(); 60 const lldb_private::Declaration &ref() const; 62 SBDeclaration(const lldb_private::Declaration *lldb_object_ptr); 64 void SetDeclaration(const lldb_private::Declaration &lldb_object_ref); 66 std::unique_ptr<lldb_private::Declaration> m_opaque_up;
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/ |
| H A D | Function.h | 45 FunctionInfo(const char *name, const Declaration *decl_ptr); 57 FunctionInfo(ConstString name, const Declaration *decl_ptr); 94 Declaration &GetDeclaration(); 100 const Declaration &GetDeclaration() const; 121 Declaration m_declaration; 148 const Declaration *decl_ptr, 149 const Declaration *call_decl_ptr); 170 const Declaration *decl_ptr, 171 const Declaration *call_decl_ptr); 214 Declaration &GetCallSite(); [all …]
|
| H A D | Variable.h | 35 Declaration *decl, const DWARFExpressionList &location, 45 const Declaration &GetDeclaration() const { return m_declaration; } in GetDeclaration() 133 Declaration m_declaration;
|
| H A D | Block.h | 180 GetContainingInlinedBlockWithCallSite(const Declaration &find_call_site); 309 const Declaration *decl_ptr, 310 const Declaration *call_decl_ptr);
|
| /freebsd/contrib/llvm-project/clang/lib/Driver/ |
| H A D | Multilib.cpp | 95 const SmallVector<custom_flag::Declaration> &CustomFlagDecls) { in DiagnoseUnclaimedMultilibCustomFlags() 136 const Declaration &Decl = *DeclIt; in ValueNameToDetailMap() 186 llvm::SmallPtrSet<custom_flag::Declaration *, 32> TriggeredCustomFlagDecls; in processCustomFlags() 337 SmallVector<custom_flag::Declaration> CustomFlagDeclarations; 346 LLVM_YAML_IS_SEQUENCE_VECTOR(custom_flag::Declaration) 414 struct llvm::yaml::MappingContextTraits<custom_flag::Declaration, 416 static void mapping(llvm::yaml::IO &io, custom_flag::Declaration &V, in mapping() 431 static std::string validate(IO &io, custom_flag::Declaration &V, in validate() 524 Declaration::Declaration(const Declaration &Other) in Declaration() function in clang::driver::custom_flag::Declaration 531 Declaration::Declaration(Declaration &&Other) in Declaration() function in clang::driver::custom_flag::Declaration [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | ExtractGV.cpp | 116 llvm::Value *Declaration; in run() local 118 Declaration = Function::Create(FTy, GlobalValue::ExternalLinkage, in run() 122 Declaration = new GlobalVariable( in run() 125 GA.replaceAllUsesWith(Declaration); in run() 140 llvm::Value *Declaration = in run() local 143 IF.replaceAllUsesWith(Declaration); in run()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | UniqueDWARFASTType.h | 36 void UpdateToDefDIE(const DWARFDIE &def_die, Declaration &declaration, in UpdateToDefDIE() 51 Declaration m_declaration; 69 UniqueDWARFASTType *Find(const DWARFDIE &die, const Declaration &decl, 89 const Declaration &decl, const int32_t byte_size, in Find()
|
| /freebsd/contrib/llvm-project/lldb/source/Symbol/ |
| H A D | Function.cpp | 31 FunctionInfo::FunctionInfo(const char *name, const Declaration *decl_ptr) in FunctionInfo() 34 FunctionInfo::FunctionInfo(ConstString name, const Declaration *decl_ptr) in FunctionInfo() 50 return Declaration::Compare(a.m_declaration, b.m_declaration); in Compare() 53 Declaration &FunctionInfo::GetDeclaration() { return m_declaration; } in GetDeclaration() 55 const Declaration &FunctionInfo::GetDeclaration() const { in GetDeclaration() 67 const Declaration *decl_ptr, in InlineFunctionInfo() 68 const Declaration *call_decl_ptr) in InlineFunctionInfo() 74 const Declaration *decl_ptr, in InlineFunctionInfo() 75 const Declaration *call_decl_ptr) in InlineFunctionInfo() 108 Declaration &InlineFunctionInfo::GetCallSite() { return m_call_decl; } in GetCallSite() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | CodeCompletion.cpp | 92 Results.push_back(Result.Declaration->getName().str()); in handleDeclaration() 96 if (auto *VD = dyn_cast<VarDecl>(Result.Declaration)) { in handleDeclaration() 145 auto *ID = Result.Declaration->getIdentifier(); in handleDeclaration() 148 if (!isa<CXXMethodDecl>(Result.Declaration)) in handleDeclaration() 150 const auto *Fun = cast<CXXMethodDecl>(Result.Declaration); in handleDeclaration() 188 if (!Result.Declaration->getDeclName().isIdentifier() || in ProcessCodeCompleteResults() 189 !Result.Declaration->getName().starts_with(Prefix)) { in ProcessCodeCompleteResults()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | TemplateBase.cpp | 170 DeclArg.Kind = Declaration; in initFromDeclaration() 280 case Declaration: { in getDependence() 321 case Declaration: in isPackExpansion() 366 case TemplateArgument::Declaration: in getNonTypeTemplateArgumentType() 394 case Declaration: in Profile() 451 case Declaration: in structurallyEquals() 495 case Declaration: in getPackExpansionPattern() 523 case Declaration: { in print() 593 case TemplateArgument::Declaration: in getSourceRange() 642 case TemplateArgument::Declaration: in DiagTemplateArg()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | CodeCompleteConsumer.cpp | 630 Result.Declaration->getIdentifier() && in isResultFilteredOut() 631 Result.Declaration->getIdentifier()->getName().starts_with(Filter)); in isResultFilteredOut() 659 OS << *Results[I].Declaration; in ProcessCodeCompleteResults() 778 if (!Declaration) { in computeCursorKindAndAvailability() 786 switch (getDeclAvailability(Declaration)) { in computeCursorKindAndAvailability() 801 if (const auto *Function = dyn_cast<FunctionDecl>(Declaration)) in computeCursorKindAndAvailability() 805 CursorKind = getCursorKindForDecl(Declaration); in computeCursorKindAndAvailability() 810 if (isa<ObjCInterfaceDecl>(Declaration)) in computeCursorKindAndAvailability() 812 else if (isa<ObjCProtocolDecl>(Declaration)) in computeCursorKindAndAvailability() 846 DeclarationName Name = Declaration->getDeclName(); in getOrderedName()
|
| /freebsd/contrib/ntp/ |
| H A D | configure.ac | 1121 AC_DEFINE([DECL_HSTRERROR_0], [1], [Declaration style]) # Needed for XLC under AIX 4.3.2 1124 AC_DEFINE([DECL_ADJTIME_0], [1], [Declaration style]) 1125 AC_DEFINE([DECL_INET_NTOA_0], [1], [Declaration style]) 1126 AC_DEFINE([DECL_MKTEMP_0], [1], [Declaration style]) 1127 AC_DEFINE([DECL_SELECT_0], [1], [Declaration style]) 1128 AC_DEFINE([DECL_SETITIMER_0], [1], [Declaration style]) 1129 AC_DEFINE([DECL_SYSLOG_0], [1], [Declaration style]) 1130 AC_DEFINE([DECL_TIMEOFDAY_0], [1], [Declaration style]) 1133 AC_DEFINE([DECL_PLOCK_0], [1], [Declaration style]) 1134 AC_DEFINE([DECL_STIME_1], [1], [Declaration styl [all...] |
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
| H A D | Nodes.cpp | 77 case syntax::NodeRole::Declaration: in operator <<() 371 syntax::Declaration *syntax::TemplateDeclaration::getDeclaration() { in getDeclaration() 372 return cast_or_null<syntax::Declaration>( in getDeclaration() 373 findChild(syntax::NodeRole::Declaration)); in getDeclaration() 385 syntax::Declaration *syntax::ExplicitTemplateInstantiation::getDeclaration() { in getDeclaration() 386 return cast_or_null<syntax::Declaration>( in getDeclaration() 387 findChild(syntax::NodeRole::Declaration)); in getDeclaration()
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/ValueObject/ |
| H A D | ValueObjectVariable.h | 27 class Declaration; variable 59 bool GetDeclaration(Declaration &decl) override;
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | CodeCompleteConsumer.h | 779 const NamedDecl *Declaration = nullptr; variable 884 CodeCompletionResult(const NamedDecl *Declaration, unsigned Priority, 889 : Declaration(Declaration), Priority(Priority), Kind(RK_Declaration), in Declaration() argument 922 : Declaration(D), Pattern(Pattern), Priority(Priority), Kind(RK_Pattern), in Declaration() function 932 : Declaration(D), Pattern(Pattern), Priority(Priority), Kind(RK_Pattern), in CodeCompletionResult() 944 return Declaration; in getDeclaration()
|
| /freebsd/contrib/llvm-project/clang/lib/Index/ |
| H A D | CommentToXML.cpp | 565 SmallString<128> &Declaration); 591 const DeclInfo *DI, SmallString<128> &Declaration) { in formatTextOfDeclaration() argument 593 StringRef StringDecl(Declaration.c_str(), Declaration.size()); in formatTextOfDeclaration() 597 unsigned Length = Declaration.size(); in formatTextOfDeclaration() 605 Declaration = *FormattedStringDecl; in formatTextOfDeclaration() 958 SmallString<128> Declaration; in visitFullComment() local 959 getSourceTextOfDeclaration(DI, Declaration); in visitFullComment() 960 formatTextOfDeclaration(DI, Declaration); in visitFullComment() 961 appendToResultWithXMLEscaping(Declaration); in visitFullComment()
|