Home
last modified time | relevance | path

Searched refs:Cls (Results 1 – 25 of 33) sorted by relevance

12

/llvm-project-15.0.7/clang/test/Index/Core/
H A Dindex-source.cpp5 class Cls { public: class
9 Cls(int x);
12 Cls(const Cls &);
15 Cls(Cls &&);
19 ~Cls();
25 class SubCls1 : public Cls {};
27 typedef Cls ClsAlias;
35 Cls::Cls(int x) {} in Cls() function in Cls
40 Cls::~/*a comment*/Cls() {} in ~Cls()
304 class PartialSpecilizationClass<Cls, Cls> : Cls { };
[all …]
/llvm-project-15.0.7/clang/test/Index/
H A Dcxx-operator-overload.cpp3 class Cls { class
5 Cls operator +(const Cls &RHS);
9 Cls x1, x2, x3; in bar()
10 Cls x4 = x1 + x2 + x3; in bar()
13 Cls Cls::operator +(const Cls &RHS) { while (1) {} } in operator +()
/llvm-project-15.0.7/llvm/test/Transforms/LoopRotate/
H A D2009-01-25-SingleEntryPhi.ll5 %struct.Cls = type { i32, i8, [2 x %struct.Cls*], [2 x %struct.Lit*] }
8 …uter_bb132.i.i.i.outer(%struct.Cls**, %struct.Cls**, i32 %collect.i.i.i.1.lcssa, i32 %lcollect.i.i…
16 %rhead.tmp.0236.lcssa82 = phi %struct.Cls** [ null, %codeRepl ] ; <%struct.Cls**> [#uses=0]
/llvm-project-15.0.7/llvm/test/Transforms/LoopStrengthReduce/
H A Dpr3086.ll5 %struct.Cls = type { i32, i8, [2 x %struct.Cls*], [2 x %struct.Lit*] }
24 %2 = load %struct.Cls*, %struct.Cls** null, align 8 ; <%struct.Cls*> [#uses=0]
/llvm-project-15.0.7/clang/test/CodeCompletion/
H A Dpatterns.cpp39 struct Cls {}; struct
40 int Cls::*memptr_return() { in memptr_return()
/llvm-project-15.0.7/clang/test/Index/Core/Inputs/sys/
H A Dsystem-head.h28 class Cls {};
33 class SubCls1 : public Cls {
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dinstantiation-backtrace.cpp44 struct Cls { struct
48 Deduce(&Cls::method); // expected-error {{no matching function}} \ in test()
/llvm-project-15.0.7/clang/include/clang/Analysis/
H A DRetainSummaryManager.h560 void addClassMethSummary(const char* Cls, const char* name,
562 IdentifierInfo* ClsII = &Ctx.Idents.get(Cls);
568 void addInstMethSummary(const char* Cls, const char* nullaryName,
570 IdentifierInfo* ClsII = &Ctx.Idents.get(Cls);
583 void addInstMethSummary(const char *Cls, const RetainSummary *Summ,
585 addMethodSummary(&Ctx.Idents.get(Cls), ObjCMethodSummaries, Summ, Kws...);
589 void addClsMethSummary(const char *Cls, const RetainSummary *Summ,
591 addMethodSummary(&Ctx.Idents.get(Cls), ObjCClassMethodSummaries, Summ,
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Ddebug-info.cpp97 class Cls { class
101 Cls obj;
/llvm-project-15.0.7/clang/include/clang/Index/
H A DUSRGeneration.h35 void generateUSRForObjCClass(StringRef Cls, raw_ostream &OS,
40 void generateUSRForObjCCategory(StringRef Cls, StringRef Cat, raw_ostream &OS,
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DExpectedTypeTest.cpp57 for (auto &Cls : Classes) in classesAre() local
58 Elements.push_back(Field(&MapEntry::second, Cls)); in classesAre()
H A DQualityTests.cpp371 SymbolRelevanceSignals Cls; in TEST() local
372 Cls.merge(CodeCompletionResult(Foo, /*Priority=*/0)); in TEST()
381 EXPECT_EQ(Cls.Scope, SymbolRelevanceSignals::GlobalScope); in TEST()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DAST.cpp53 } else if (auto *Cls = in getTemplateSpecializationArgLocs() local
55 if (auto *Args = Cls->getTemplateArgsAsWritten()) in getTemplateSpecializationArgLocs()
241 if (auto *Cls = llvm::dyn_cast<RecordDecl>(&ND)) { in printName() local
242 if (Cls->isLambda()) in printName()
244 return ("(anonymous " + Cls->getKindName() + ")").str(); in printName()
269 } else if (auto *Cls = llvm::dyn_cast<ClassTemplateSpecializationDecl>(&ND)) { in printTemplateSpecializationArgs() local
270 if (const TypeSourceInfo *TSI = Cls->getTypeAsWritten()) { in printTemplateSpecializationArgs()
284 printTemplateArgumentList(OS, Cls->getTemplateArgs().asArray(), Policy); in printTemplateSpecializationArgs()
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dproperty-9.m70 @interface Cls interface
80 Cls *c;
/llvm-project-15.0.7/clang/test/Sema/
H A Dcrash-deduction-guide-access.cpp9 class Cls { class
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dundefined-internal.cpp301 struct Cls { struct
319 void test(Cls &c) { in test()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DGICombinerEmitter.cpp294 static Record *getDefOfSubClass(const Init &N, StringRef Cls) { in getDefOfSubClass() argument
296 if (OpI->getDef()->isSubClassOf(Cls)) in getDefOfSubClass()
320 StringRef Cls) { in getDagWithOperatorOfSubClass() argument
324 if (OpI->getDef()->isSubClassOf(Cls)) in getDagWithOperatorOfSubClass()
/llvm-project-15.0.7/clang/test/Parser/
H A Dmissing-end-4.m49 + Cls {} class
/llvm-project-15.0.7/clang/lib/Index/
H A DUSRGeneration.cpp1038 void clang::index::generateUSRForObjCClass(StringRef Cls, raw_ostream &OS, in generateUSRForObjCClass() argument
1043 OS << "objc(cs)" << Cls; in generateUSRForObjCClass()
1046 void clang::index::generateUSRForObjCCategory(StringRef Cls, StringRef Cat, in generateUSRForObjCCategory() argument
1051 OS << "objc(cy)" << Cls << '@' << Cat; in generateUSRForObjCCategory()
/llvm-project-15.0.7/compiler-rt/lib/orc/
H A Dmacho_platform.cpp626 auto *Cls = reinterpret_cast<Class>(ClassPtr); in registerObjCClasses() local
629 auto Registered = objc_readClassPair(Cls, JDS.ObjCImageInfo); in registerObjCClasses()
632 if (Registered != Cls) in registerObjCClasses()
/llvm-project-15.0.7/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp449 IdentifierInfo *Cls = nullptr; in getNSArrayObjects() local
450 if (!checkForLiteralCreation(Msg, Cls, NS.getASTContext().getLangOpts())) in getNSArrayObjects()
453 if (Cls != NS.getNSClassId(NSAPI::ClassId_NSArray)) in getNSArrayObjects()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp2646 MsgExprs.push_back(Cls); in RewriteObjCBoxedExpr()
2769 MsgExprs.push_back(Cls); in RewriteObjCArrayLiteralExpr()
2912 MsgExprs.push_back(Cls); in RewriteObjCDictionaryLiteralExpr()
3256 CallExpr *Cls = SynthesizeCallToFunctionDecl(GetMetaClassFunctionDecl, in SynthMessageExpr() local
3259 ClsExprs.push_back(Cls); in SynthMessageExpr()
3260 Cls = SynthesizeCallToFunctionDecl(GetSuperClassFunctionDecl, ClsExprs, in SynthMessageExpr()
3268 CK_BitCast, Cls)); in SynthMessageExpr()
3325 CK_BitCast, Cls); in SynthMessageExpr()
3351 ClsExprs.push_back(Cls); in SynthMessageExpr()
3352 Cls = SynthesizeCallToFunctionDecl(GetSuperClassFunctionDecl, ClsExprs, in SynthMessageExpr()
[all …]
H A DRewriteObjC.cpp2682 CallExpr *Cls = SynthesizeCallToFunctionDecl(GetMetaClassFunctionDecl, in SynthMessageExpr() local
2687 CK_BitCast, Cls); in SynthMessageExpr()
2690 Cls = SynthesizeCallToFunctionDecl(GetSuperClassFunctionDecl, ClsExprs, in SynthMessageExpr()
2697 CK_BitCast, Cls)); in SynthMessageExpr()
2750 CallExpr *Cls = SynthesizeCallToFunctionDecl(GetClassFunctionDecl, ClsExprs, in SynthMessageExpr() local
2752 MsgExprs.push_back(Cls); in SynthMessageExpr()
2773 CallExpr *Cls = SynthesizeCallToFunctionDecl(GetClassFunctionDecl, ClsExprs, in SynthMessageExpr() local
2778 CK_BitCast, Cls); in SynthMessageExpr()
2781 Cls = SynthesizeCallToFunctionDecl(GetSuperClassFunctionDecl, ClsExprs, in SynthMessageExpr()
2789 CK_BitCast, Cls)); in SynthMessageExpr()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DDeclSpec.h1554 BlockPointerTypeInfo Cls; member
1563 case DeclaratorChunk::BlockPointer: return Cls.destroy(); in destroy()
1657 I.Cls.TypeQuals = TypeQuals; in getBlockPointer()
1667 I.Cls.TypeQuals = TypeQuals; in getPipe()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DLocalizationChecker.cpp907 ObjCInterfaceDecl *Cls = PT->getObjectType()->getInterface(); in isNSStringType() local
908 if (!Cls) in isNSStringType()
911 IdentifierInfo *ClsName = Cls->getIdentifier(); in isNSStringType()

12