Home
last modified time | relevance | path

Searched refs:BaseClass (Results 1 – 25 of 66) sorted by relevance

123

/llvm-project/lldb/test/API/lang/objc/objc-property/
H A Dmain.m11 @interface BaseClass : NSObject interface
27 +(BaseClass *) baseClassWithBackedInt: (int) inInt andUnbackedInt: (int) inOtherInt;
37 @implementation BaseClass implementation
41 + (BaseClass *) baseClassWithBackedInt: (int) inInt andUnbackedInt: (int) inOtherInt
43 BaseClass *new = [[BaseClass alloc] init];
53 // NSLog (@"Getting BaseClass::unbackedInt - %d.\n", unbackedInt);
60 // NSLog (@"Setting BaseClass::unbackedInt from %d to %d.", unbackedInt, in_int);
67 // NSLog (@"Getting BaseClass::nonexistantInt - %d.\n", 5);
74 // NSLog (@"Setting BaseClass::nonexistantInt from 7 to %d.", in_int);
103 typedef BaseClass TypedefBaseClass;
[all …]
/llvm-project/lldb/test/API/functionalities/dynamic_value_child_count/
H A Dpass-to-base.cpp4 class BaseClass class
7 BaseClass();
8 virtual ~BaseClass() { } in ~BaseClass()
11 class DerivedClass : public BaseClass
20 BaseClass::BaseClass() in BaseClass() function in BaseClass
24 DerivedClass::DerivedClass() : BaseClass() in DerivedClass()
32 BaseClass *b = nullptr; // Break here and check b has 0 children in main()
/llvm-project/third-party/benchmark/include/benchmark/
H A Dbenchmark.h1484 #define BENCHMARK_PRIVATE_CONCAT_NAME(BaseClass, Method) \ argument
1485 BaseClass##_##Method##_Benchmark
1588 #define BENCHMARK_PRIVATE_DECLARE_F(BaseClass, Method) \ argument
1589 class BaseClass##_##Method##_Benchmark : public BaseClass { \
1591 BaseClass##_##Method##_Benchmark() { \
1592 this->SetName(#BaseClass "/" #Method); \
1599 #define BENCHMARK_TEMPLATE1_PRIVATE_DECLARE_F(BaseClass, Method, a) \ argument
1600 class BaseClass##_##Method##_Benchmark : public BaseClass<a> { \
1602 BaseClass##_##Method##_Benchmark() { \
1603 this->SetName(#BaseClass "<" #a ">/" #Method); \
[all …]
/llvm-project/lldb/test/Shell/SymbolFile/NativePDB/
H A Dglobal-classes.cpp61 struct BaseClass { struct
62 constexpr BaseClass(int N) in BaseClass() argument
68 struct DerivedClass : public BaseClass<int> { argument
70 : BaseClass(Base), DerivedMember(Derived) {} in DerivedClass()
80 struct PaddedBases : public BaseClass<char>, public BaseClass<short>, BaseClass<int> {
82 : BaseClass<char>(CH), BaseClass<short>(S), BaseClass<in in PaddedBases()
[all...]
/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCXXDeleteChecker.cpp114 const auto *BaseClass = BaseClassRegion->getValueType()->getAsCXXRecordDecl(); in checkTypedDeleteExpr() local
117 if (!BaseClass || !DerivedClass) in checkTypedDeleteExpr()
120 if (!BaseClass->hasDefinition() || !DerivedClass->hasDefinition()) in checkTypedDeleteExpr()
123 if (BaseClass->getDestructor()->isVirtual()) in checkTypedDeleteExpr()
126 if (!DerivedClass->isDerivedFrom(BaseClass)) in checkTypedDeleteExpr()
144 const auto *BaseClass = BaseClassRegion->getValueType()->getAsCXXRecordDecl(); in checkTypedDeleteExpr() local
147 if (!BaseClass || !DerivedClass) in checkTypedDeleteExpr()
150 if (!BaseClass->hasDefinition() || !DerivedClass->hasDefinition()) in checkTypedDeleteExpr()
156 if (!DerivedClass->isDerivedFrom(BaseClass)) in checkTypedDeleteExpr()
/llvm-project/clang/test/CodeGenCXX/
H A Ddllimport-dtor-thunks.cpp11 struct BaseClass { struct
12 virtual ~BaseClass() {} in ~BaseClass() argument
18 struct __declspec(dllimport) ImportOverrideVDtor : public BaseClass {
26 : public virtual BaseClass {
/llvm-project/clang/tools/clang-fuzzer/corpus_examples/objc/
H A DSharedInstance.m7 @interface BaseClass : RootObject interface
13 static BaseClass *sharedInstance = (void *)0;
16 @implementation BaseClass implementation
21 sharedInstance = [[BaseClass alloc] initWithFoo:3];
H A DClassExtension.m4 @interface BaseClass : RootObject interface
7 @interface BaseClass() { interface in int
15 @implementation BaseClass implementation
H A DClassCategory.m4 @interface BaseClass : RootObject interface
8 @interface BaseClass(Private) interface in Private
14 @implementation BaseClass implementation
/llvm-project/clang-tools-extra/clang-tidy/bugprone/
H A DCopyConstructorInitCheck.cpp55 const CXXRecordDecl *BaseClass = in check() local
57 if (BaseClass->field_empty() && in check()
58 BaseClass->forallBases( in check()
62 for (const auto *Ctor : BaseClass->ctors()) { in check()
83 FixItInitList += BaseClass->getNameAsString(); in check()
/llvm-project/clang/test/FixIt/
H A Dauto-isa-fixit.m21 @interface BaseClass { interface
34 @interface Subclass : BaseClass @end
36 @interface SiblingClass : BaseClass @end
50 BaseClass *w;
/llvm-project/clang/test/CodeGenObjC/
H A Dprotocol-property-synth.m3 @interface BaseClass { interface
22 @interface SubClass : BaseClass <SubProtocol, AnotherProtocol> {
27 @implementation BaseClass @end implementation
H A Ddebug-info-ivars.m8 @interface BaseClass : NSObject interface
18 @implementation BaseClass implementation
/llvm-project/clang/test/SemaCXX/
H A Dcode-seg1.cpp65 struct __declspec(code_seg("my_class")) BaseClass { struct
69 struct __declspec(code_seg("my_class")) DerivedClass1 : virtual BaseClass { //OK argument
73 struct __declspec(code_seg("my_class")) DerivedClass2 : virtual BaseClass { //OK
H A Dwarn-unsafe-buffer-usage-function-attr.cpp59 class BaseClass { class
67 class DerivedClass : public BaseClass {
80 BaseClass *BC; in testInheritance()
H A Dexpression-traits.cpp172 struct BaseClass struct
174 virtual ~BaseClass();
181 struct Class : BaseClass argument
412 typedef BaseClass B; in expr_dynamic_cast_5()
/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNIterativeScheduler.cpp131 Sch.BaseClass::startBlock(BB); in BuildDAG()
132 Sch.BaseClass::enterRegion(BB, R.Begin, R.End, R.NumRegionInstrs); in BuildDAG()
141 Sch.BaseClass::exitRegion(); in ~BuildDAG()
142 Sch.BaseClass::finishBlock(); in ~BuildDAG()
169 Sch.BaseClass::startBlock(BB); in OverrideLegacyStrategy()
170 Sch.BaseClass::enterRegion(BB, R.Begin, R.End, R.NumRegionInstrs); in OverrideLegacyStrategy()
174 Sch.BaseClass::exitRegion(); in ~OverrideLegacyStrategy()
175 Sch.BaseClass::finishBlock(); in ~OverrideLegacyStrategy()
184 Sch.BaseClass::schedule(); in schedule()
219 : BaseClass( in GCNIterativeScheduler()
[all...]
/llvm-project/llvm/test/TableGen/
H A DJSON-locs.td37 class BaseClass {}
38 class DerivedClass : BaseClass {}
40 // CHECK: 'BaseClass' not in data
/llvm-project/lldb/test/API/lang/objc/objc-ivar-offsets/
H A Dobjc-ivar-offsets.h4 @interface BaseClass : NSObject
15 @interface DerivedClass : BaseClass
H A Dobjc-ivar-offsets.m3 @implementation BaseClass implementation
/llvm-project/clang-tools-extra/clang-tidy/utils/
H A DExceptionAnalyzer.cpp54 const auto *BaseClass = in isUnambiguousPublicBaseClass() local
56 if (!DerivedClass || !BaseClass) in isUnambiguousPublicBaseClass()
64 [&BaseClass, &IsPublicBaseClass](const CXXBaseSpecifier *BS, in isUnambiguousPublicBaseClass()
68 ->getAsCXXRecordDecl() == BaseClass && in isUnambiguousPublicBaseClass()
98 const auto *BaseClass = BaseType->getAsCXXRecordDecl(); in isBaseOf() local
99 if (!DerivedClass || !BaseClass) in isBaseOf()
103 [BaseClass](const CXXRecordDecl *Cur) { return Cur != BaseClass; }); in isBaseOf()
/llvm-project/clang/test/SemaTemplate/
H A Dderived.cpp35 class BaseClass { class
38 template<class T> class DerivedClass : public BaseClass {};
/llvm-project/clang/test/SemaObjC/
H A Ddeprecated-objc-introspection.m46 @interface BaseClass { interface
59 @interface Subclass : BaseClass @end
61 @interface SiblingClass : BaseClass @end
75 BaseClass *w;
/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
H A DMemberwiseConstructor.cpp58 const auto *BaseClass = Base.getType()->getAsCXXRecordDecl(); in prepare() local
59 if (!BaseClass || !BaseClass->hasDefaultConstructor()) { in prepare()
/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp74 class BaseClass final : public FieldNode { class
78 BaseClass(const QualType &T) : FieldNode(nullptr), BaseClassT(T) { in BaseClass() function in __anon626b00850111::BaseClass
360 BaseClass(BaseSpec.getType())))) in isNonUnionUninit()
364 LocalChain.add(BaseClass(BaseSpec.getType())))) in isNonUnionUninit()

123