| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | comment-objc-decls.m | 33 // CHECK: <Declaration>@protocol MyProto\n@end</Declaration> 36 // CHECK: <Declaration>+ (id)ClassMethodMyProto;</Declaration> 49 // CHECK: <Declaration>id IvarNSObject</Declaration> 77 // CHECK: <Declaration>id IvarMyClass</Declaration> 78 // CHECK: <Declaration>- (id)MethodMyClass;</Declaration> 79 // CHECK: <Declaration>+ (id)ClassMethodMyClass;</Declaration> 94 // CHECK: <Declaration>id IvarMyClassExtension</Declaration> 112 // CHECK: <Declaration>- (void)MethodMyClassCategory;</Declaration> 143 // CHECK: <Declaration>id IvarPrivateToMyClassImpl</Declaration> 144 // CHECK: <Declaration>- (id)MethodMyClass;</Declaration> [all …]
|
| H A D | annotate-comments-property-accessor.m | 16 …/Name><USR>c:objc(cs)AppDelegate(py)MyProperty</USR><Declaration>- (int)ReadonlyGetter;</Declarati… 22 …<USR>c:objc(cs)AppDelegate(py)GeneralProperty</USR><Declaration>- (int)GeneralProperty;</Declarati… 23 …cs)AppDelegate(py)GeneralProperty</USR><Declaration>- (void)setGeneralProperty:(int)GeneralPropert… 32 …c(cs)AppDelegate(py)PropertyInPrimaryClass</USR><Declaration>- (id)PropertyInPrimaryClass;</Declar… 33 …(py)PropertyInPrimaryClass</USR><Declaration>- (void)setPropertyInPrimaryClass:(id)PropertyInPrima… 42 …cs)AppDelegate(py)PropertyInClassExtension</USR><Declaration>- (id)GetterInClassExtension;</Declar… 52 …cs)AppDelegate(py)PropertyInClassExtension</USR><Declaration>- (id)GetterInClassExtension;</Declar… 53 …PropertyInClassExtension</USR><Declaration>- (void)setPropertyInClassExtension:(id)PropertyInClass…
|
| H A D | overriding-method-comments.mm | 22 …<Name>METH:</Name><USR>c:objc(cs)Root(im)METH:</USR><Declaration>- (void)METH:(id)AAA;</Declaratio… 31 …<Name>METH:</Name><USR>c:objc(cs)Root(im)METH:</USR><Declaration>- (void)METH:(id)BBB;</Declaratio… 37 …<Name>METH:</Name><USR>c:objc(cs)Root(im)METH:</USR><Declaration>- (void)METH:(id)III;</Declaratio… 64 …_pure</Name><USR>c:@S@Base@F@foo_pure#I#</USR><Declaration>virtual void foo_pure(int AAA) = 0</Dec… 70 …line</Name><USR>c:@S@Base@F@foo_inline#I#</USR><Declaration>virtual void foo_inline(int BBB)</Decl… 86 …oo_pure</Name><USR>c:@S@Base@F@foo_pure#I#</USR><Declaration>virtual void foo_pure(int PPP)</Decla… 90 …line</Name><USR>c:@S@Base@F@foo_inline#I#</USR><Declaration>virtual void foo_inline(int QQQ)</Decl… 97 …2]]" column="6"><Name>foo</Name><USR>c:@F@foo#I#</USR><Declaration>void foo(int DDD)</Declaration>… 101 …2]]" column="6"><Name>foo</Name><USR>c:@F@foo#I#</USR><Declaration>void foo(int SSS)</Declaration>… 107 …]" column="6"><Name>foo1</Name><USR>c:@F@foo1#I#</USR><Declaration>void foo1(int EEE)</Declaration… [all …]
|
| H A D | annotate-comments-typedef.m | 20 …lumn="3"><Name>MyEnum</Name><USR>c:@T@MyEnum</USR><Declaration>typedef enum MyEnum MyEnum</Declara… 30 …LINE-6]]" column="6"><Name>E</Name><USR>c:@E@E</USR><Declaration>enum E{{( : int)?}} {}</Declarati… 31 …@LINE-2]]" column="16"><Name>E</Name><USR>c:@E@E</USR><Declaration>typedef enum E E_T</Declaration… 38 …1]]" column="11"><Name>Foo</Name><USR>c:@T@Foo</USR><Declaration>typedef struct Foo Foo</Declarati… 39 …umn="9"><Name><anonymous></Name><USR>c:@SA@Foo</USR><Declaration>struct {}</Declaration><Abs… 48 …e><USR>c:annotate-comments-typedef.m@T@Foo1T</USR><Declaration>typedef struct Foo1 Foo1T</Declarat…
|
| H A D | comment-unqualified-objc-pointer.m | 18 // CHECK: <Declaration>- (NSString *)WithLabel:(NSString *const)label;</Declaration> 22 // CHECK: <Declaration>@property(atomic, copy, readwrite) NSString *Name;</Declaration> 29 // CHECK: <Declaration>NSString *NickName</Declaration>
|
| H A D | headerfile-comment-to-html.m | 20 …e.h <Foundation/Device.h></Para></Headerfile><Declaration>@interface Device\n@end</Declarati… 42 …> Sensor.h "Sensor.h"</Para></Headerfile><Declaration>@interface Sensor\n@end</Declarati… 65 …TFoundation/VTDevice.h></Para></Headerfile><Declaration>@interface VTDevice : Device\n@end</Dec… 86 …erfile><Para> <stdio.h></Para></Headerfile><Declaration>extern void uses_stdio_h()</Declara… 102 …ile><Para> <algorithm></Para></Headerfile><Declaration>extern void uses_argorithm()</Declar…
|
| /llvm-project-15.0.7/clang/include/clang/ExtractAPI/ |
| H A D | API.h | 68 DeclarationFragments Declaration; member 109 Linkage(Linkage), Comment(Comment), Declaration(Declaration), in APIRecord() 127 Comment, Declaration, SubHeading), in GlobalFunctionRecord() 146 Comment, Declaration, SubHeading) {} in GlobalVariableRecord() 161 DeclarationFragments Declaration, in EnumConstantRecord() 182 Comment, Declaration, SubHeading) {} in EnumRecord() 215 DeclarationFragments Declaration, in StructRecord() 218 Comment, Declaration, SubHeading) {} in StructRecord() 349 Declaration, SubHeading) {} in ObjCContainerRecord() 445 DeclarationFragments Declaration, in TypedefRecord() [all …]
|
| /llvm-project-15.0.7/clang/lib/ExtractAPI/ |
| H A D | API.cpp | 74 DeclarationFragments Declaration, in addEnum() argument 77 Declaration, SubHeading); in addEnum() 94 DeclarationFragments Declaration, in addStruct() argument 97 Declaration, SubHeading); in addStruct() 121 const DocComment &Comment, DeclarationFragments Declaration, in addObjCInterface() argument 131 const DocComment &Comment, DeclarationFragments Declaration, in addObjCMethod() argument 143 const DocComment &Comment, DeclarationFragments Declaration, in addObjCProperty() argument 156 const DocComment &Comment, DeclarationFragments Declaration, in addObjCInstanceVariable() argument 169 Declaration, SubHeading); in addObjCProtocol() 174 DeclarationFragments Declaration, in addMacroDefinition() argument [all …]
|
| H A D | ExtractAPIConsumer.cpp | 275 DeclarationFragments Declaration = in VisitVarDecl() local 336 DeclarationFragments Declaration = in VisitFunctionDecl() local 376 DeclarationFragments Declaration = in VisitEnumDecl() local 417 DeclarationFragments Declaration = in VisitRecordDecl() local 452 DeclarationFragments Declaration = in VisitObjCInterfaceDecl() local 498 DeclarationFragments Declaration = in VisitObjCProtocolDecl() local 558 DeclarationFragments Declaration = in VisitObjCCategoryDecl() local 628 DeclarationFragments Declaration = in recordEnumConstants() local 655 DeclarationFragments Declaration = in recordStructFields() local 685 DeclarationFragments Declaration = in recordObjCMethods() local [all …]
|
| /llvm-project-15.0.7/lldb/source/API/ |
| H A D | SBDeclaration.cpp | 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 !=() 133 const lldb_private::Declaration *SBDeclaration::operator->() const { in operator ->() 137 lldb_private::Declaration &SBDeclaration::ref() { in ref() 139 m_opaque_up = std::make_unique<lldb_private::Declaration>(); in ref() [all …]
|
| /llvm-project-15.0.7/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) const { in FileAndLineEqual() 78 bool lldb_private::operator==(const Declaration &lhs, const Declaration &rhs) { in operator ==()
|
| /llvm-project-15.0.7/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); 90 bool FileAndLineEqual(const Declaration &declaration) const; 189 bool operator==(const Declaration &lhs, const Declaration &rhs);
|
| /llvm-project-15.0.7/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 { 368 class EmptyDeclaration final : public Declaration { 405 class SimpleDeclaration final : public Declaration { 414 class TemplateDeclaration final : public Declaration { 419 Declaration *getDeclaration(); 434 Declaration *getDeclaration(); 438 class NamespaceDefinition 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> {} 244 def SimpleDeclaration : External<Declaration> {} 245 def TemplateDeclaration : External<Declaration> {} 247 def NamespaceDefinition : External<Declaration> {} 248 def NamespaceAliasDefinition : External<Declaration> {} 249 def UsingNamespaceDirective : External<Declaration> {} 250 def UsingDeclaration : External<Declaration> {} [all …]
|
| /llvm-project-15.0.7/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;
|
| /llvm-project-15.0.7/lldb/include/lldb/Symbol/ |
| H A D | Function.h | 44 FunctionInfo(const char *name, const Declaration *decl_ptr); 93 Declaration &GetDeclaration(); 99 const Declaration &GetDeclaration() const; 120 Declaration m_declaration; 147 const Declaration *decl_ptr, 148 const Declaration *call_decl_ptr); 169 const Declaration *decl_ptr, 170 const Declaration *call_decl_ptr); 213 Declaration &GetCallSite(); 219 const Declaration &GetCallSite() const; [all …]
|
| H A D | Variable.h | 35 Declaration *decl, const DWARFExpressionList &location, 45 const Declaration &GetDeclaration() const { return m_declaration; } in GetDeclaration() 130 Declaration m_declaration;
|
| /llvm-project-15.0.7/clang-tools-extra/clang-move/ |
| H A D | Move.h | 39 struct Declaration { struct 40 Declaration(llvm::StringRef QName, llvm::StringRef Kind, bool Templated) in Declaration() function 43 friend bool operator==(const Declaration &LHS, const Declaration &RHS) { 52 const std::vector<Declaration> getDeclarationList() const { in getDeclarationList() argument 57 std::vector<Declaration> DeclarationList;
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/ |
| H A D | IdDependentBackwardBranchCheck.h | 29 IdDependencyRecord(const VarDecl *Declaration, SourceLocation Location, in IdDependencyRecord() 31 : VariableDeclaration(Declaration), Location(Location), in IdDependencyRecord() 33 IdDependencyRecord(const FieldDecl *Declaration, SourceLocation Location, in IdDependencyRecord() 35 : FieldDeclaration(Declaration), Location(Location), in IdDependencyRecord()
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | RAVFrontendAction.rst | 76 bool VisitCXXRecordDecl(CXXRecordDecl *Declaration) { 79 Declaration->dump(); 94 bool VisitCXXRecordDecl(CXXRecordDecl *Declaration) { 95 if (Declaration->getQualifiedNameAsString() == "n::m::C") 96 Declaration->dump(); 125 bool VisitCXXRecordDecl(CXXRecordDecl *Declaration) { 126 if (Declaration->getQualifiedNameAsString() == "n::m::C") { 129 FullSourceLoc FullLocation = Context->getFullLoc(Declaration->getBeginLoc()); 159 bool VisitCXXRecordDecl(CXXRecordDecl *Declaration) { 160 if (Declaration->getQualifiedNameAsString() == "n::m::C") { [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | UniqueDWARFASTType.h | 25 const lldb_private::Declaration &decl, int32_t byte_size) in UniqueDWARFASTType() 47 lldb_private::Declaration m_declaration; 63 bool Find(const DWARFDIE &die, const lldb_private::Declaration &decl, 83 const lldb_private::Declaration &decl, const int32_t byte_size, in Find()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | ExtractGV.cpp | 131 llvm::Value *Declaration; in runOnModule() local 133 Declaration = in runOnModule() 138 Declaration = in runOnModule() 142 GA.replaceAllUsesWith(Declaration); in runOnModule()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Quality.cpp | 44 const auto &Context = R.Declaration->getASTContext(); in hasUsingDeclInMainFile() 84 if (R.Declaration) in categorize() 85 return categorize(*R.Declaration); in categorize() 179 if (SemaCCResult.Declaration) { in merge() 180 ImplementationDetail |= isImplementationDetail(SemaCCResult.Declaration); in merge() 181 if (auto *ID = SemaCCResult.Declaration->getIdentifier()) in merge() 328 if (SemaCCResult.Declaration) { in merge() 333 float DeclProximity = (hasDeclInMainFile(*SemaCCResult.Declaration) || in merge() 338 IsInstanceMember |= isInstanceMember(SemaCCResult.Declaration); in merge() 344 if (SemaCCResult.Declaration) in merge() [all …]
|
| /llvm-project-15.0.7/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 …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | ConvertMemberFunctionsToStatic.cpp | 142 const CXXMethodDecl *Declaration = Definition->getCanonicalDecl(); in check() local 154 if (Declaration != Definition) { in check() 156 Declaration->getTypeSourceInfo(), *Result.SourceManager, in check() 167 Diag << FixItHint::CreateInsertion(Declaration->getBeginLoc(), "static "); in check()
|