Home
last modified time | relevance | path

Searched refs:Cat (Results 1 – 25 of 75) sorted by relevance

123

/llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/
H A DAddConstTest.cpp611 EXPECT_EQ(Cat("const Foo target;"), runCheckOnCode<ValueLTransform>(Cat(S))); in TEST()
615 EXPECT_EQ(Cat("Foo const target;"), runCheckOnCode<ValueRTransform>(Cat(S))); in TEST()
646 EXPECT_EQ(Cat("const Foo target;"), runCheckOnCode<ValueLTransform>(Cat(S))); in TEST()
650 EXPECT_EQ(Cat("Foo const target;"), runCheckOnCode<ValueRTransform>(Cat(S))); in TEST()
681 EXPECT_EQ(Cat("const Foo target;"), runCheckOnCode<ValueLTransform>(Cat(S))); in TEST()
685 EXPECT_EQ(Cat("Foo const target;"), runCheckOnCode<ValueRTransform>(Cat(S))); in TEST()
710 EXPECT_EQ(Cat("DEFINE_VARIABLE;"), runCheckOnCode<ValueLTransform>(Cat(S))); in TEST()
711 EXPECT_EQ(Cat("DEFINE_VARIABLE;"), runCheckOnCode<ValueRTransform>(Cat(S))); in TEST()
713 EXPECT_EQ(Cat("DEFINE_VARIABLE;"), runCheckOnCode<PointeeLTransform>(Cat(S))); in TEST()
714 EXPECT_EQ(Cat("DEFINE_VARIABLE;"), runCheckOnCode<PointeeRTransform>(Cat(S))); in TEST()
[all …]
/llvm-project-15.0.7/libcxx/test/std/language.support/cmp/cmp.concept/
H A Dthree_way_comparable_with.compile.pass.cpp18 template <class T, class U = T, typename Cat = std::partial_ordering>
20 constexpr bool result = std::three_way_comparable_with<T, U, Cat>; in check_three_way_comparable_with()
21 static_assert(std::three_way_comparable_with<U, T, Cat> == result); in check_three_way_comparable_with()
22 static_assert(std::three_way_comparable_with<T, U const, Cat> == result); in check_three_way_comparable_with()
23 static_assert(std::three_way_comparable_with<T const, U const, Cat> == result); in check_three_way_comparable_with()
24 static_assert(std::three_way_comparable_with<T, U const&, Cat> == result); in check_three_way_comparable_with()
26 static_assert(std::three_way_comparable_with<T, U const&&, Cat> == result); in check_three_way_comparable_with()
29 static_assert(std::three_way_comparable_with<T&, U const, Cat> == result); in check_three_way_comparable_with()
31 static_assert(std::three_way_comparable_with<T&, U const&, Cat> == result); in check_three_way_comparable_with()
33 static_assert(std::three_way_comparable_with<T&, U const&&, Cat> == result); in check_three_way_comparable_with()
[all …]
/llvm-project-15.0.7/lld/test/ELF/lto/
H A Ddevirt_split_unit_localize.ll7 ; RUN: opt --thinlto-bc --thinlto-split-lto-unit -o %t/Cat.o %t/Cat.ll
21 ;--- Cat.ll
25 %struct.Cat = type { %struct.Animal }
35 @_ZTS3Cat = dso_local constant [5 x i8] c"3Cat\00", align 1
55 %0 = bitcast %struct.Animal* %a to %struct.Cat*
56 %1 = bitcast %struct.Animal* %a to void (%struct.Cat*)***
57 %vtable = load void (%struct.Cat*)**, void (%struct.Cat*)*** %1, align 8, !tbaa !4
58 %2 = bitcast void (%struct.Cat*)** %vtable to i8*
61 %4 = load void (%struct.Cat*)*, void (%struct.Cat*)** %vtable, align 8
62 tail call void %4(%struct.Cat* nonnull dereferenceable(8) %0)
[all …]
/llvm-project-15.0.7/llvm/tools/yaml2obj/
H A Dyaml2obj.cpp32 cl::OptionCategory Cat("yaml2obj Options"); variable
35 cl::init("-"), cl::cat(Cat));
41 cl::cat(Cat));
46 cl::cat(Cat));
52 cl::cat(Cat));
56 cl::Prefix, cl::cat(Cat));
111 cl::HideUnrelatedOptions(Cat); in main()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DDecisionForestTests.cpp10 using Cat = ::ns1::ns2::TestEnum; in TEST() typedef
16 E.setACategorical(Cat::A); // True: +5.0 in TEST()
21 E.setACategorical(Cat::B); // True: +5.0 in TEST()
25 E.setACategorical(Cat::C); // True: +3.0, False: -6.0 in TEST()
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DLog.h135 template <typename Cat>
137 llvm::StringLiteral description, Cat mask) in Category()
140 std::is_same<Log::MaskType, std::underlying_type_t<Cat>>::value, ""); in Category()
154 template <typename Cat>
156 Cat default_flags) in Channel()
160 std::is_same<Log::MaskType, std::underlying_type_t<Cat>>::value, ""); in Channel()
302 template <typename Cat> Log::Channel &LogChannelFor() = delete;
308 template <typename Cat> Log *GetLog(Cat mask) { in GetLog()
309 static_assert(std::is_same<Log::MaskType, std::underlying_type_t<Cat>>::value, in GetLog()
311 return LogChannelFor<Cat>().GetLog(Log::MaskType(mask)); in GetLog()
/llvm-project-15.0.7/clang/test/Rewriter/
H A Dobjc-modern-class-init.mm17 @interface Root(Cat) @end category
19 @interface Sub(Cat) @end category
21 @implementation Root(Cat) @end category
23 @implementation Sub(Cat) @end category
H A Dobjc-modern-class-init-hooks.mm17 @interface Root(Cat) @end category
19 @interface Sub(Cat) @end category
21 @implementation Root(Cat) @end category
23 @implementation Sub(Cat) @end category
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dnon-lazy-classes.m12 @interface A (Cat) @end category
13 @implementation A (Cat) category
24 @interface B (Cat) @end category
25 @implementation B (Cat) category
H A Did-isa-codegen.m54 @interface Cat {} interface
57 @interface SuperCat : Cat {}
58 +(void)geneticallyAlterCat:(Cat *)cat; argument
62 + (void)geneticallyAlterCat:(Cat *)cat { argument
H A Dmetadata_symbols.m19 // CHECK-X86_64: define internal void @"\01-[A(Cat) im1]"
30 // CHECK-X86_64-HIDDEN: define internal void @"\01-[A(Cat) im1]"
43 // CHECK-ARMV6: define internal void @"\01-[A(Cat) im1]"
53 @implementation A (Cat) category
H A Dexceptions-asm-attribute.m20 // CHECK-X86_64: define internal void @"\01-[A(Cat) im1]"
31 // CHECK-X86_64-HIDDEN: define internal void @"\01-[A(Cat) im1]"
44 // CHECK-ARMV6: define internal void @"\01-[A(Cat) im1]"
55 @implementation A (Cat) category
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dubsan-type-checks.cpp37 struct Cat : Animal { struct
46 void invalid_cast(Cat *cat = nullptr) { in invalid_cast() argument
72 Cat cat; in invalid_cast2()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugType.h38 BugType(CheckerNameRef CheckerName, StringRef Name, StringRef Cat,
40 : CheckerName(CheckerName), Description(Name), Category(Cat), in CheckerName()
42 BugType(const CheckerBase *Checker, StringRef Name, StringRef Cat,
45 Category(Cat), Checker(Checker), SuppressOnSink(SuppressOnSink) {}
/llvm-project-15.0.7/clang/test/CXX/temp/temp.fct.spec/temp.deduct/
H A Dp7.cpp31 struct Cat {}; struct
33 Cat operator<=>(Y, X);
34 bool operator<(int, Cat);
/llvm-project-15.0.7/clang-tools-extra/pp-trace/
H A DPPTrace.cpp57 static cl::OptionCategory Cat("pp-trace options"); variable
65 cl::cat(Cat));
70 cl::cat(Cat));
132 argc, argv, Cat, llvm::cl::ZeroOrMore); in main()
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Dobj2yaml.cpp23 static cl::OptionCategory Cat("obj2yaml Options"); variable
30 cl::cat(Cat));
36 cl::cat(Cat));
104 cl::HideUnrelatedOptions(Cat); in main()
/llvm-project-15.0.7/clang/test/Index/
H A Davailability.mm20 @interface C(Cat) category
27 @implementation C(Cat) category
62 // CHECK: ObjCCategoryDecl=Cat:20:12 (macos, introduced=10.0)
68 // CHECK: ObjCCategoryImplDecl=Cat:27:17 (Definition) (macos, introduced=10.0)
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dmethod-direct-one-definition.m7 @interface A (Cat) category
25 @interface B (Cat) category
42 @implementation B (Cat) category
61 @interface C (Cat) category
H A Dcategory-method-lookup-2.m10 @interface Bar (Cat) category
14 @implementation Bar (Cat) category
H A Dunguarded-availability-category-protocol-use.m12 @interface A (Cat) <Prot> // No error. category
17 @interface B (Cat) <Prot> // expected-error {{'Prot' is unavailable: not available on iOS}} category
H A Dcheck-dup-objc-decls-1.m44 @interface A(Cat)<P> @end // expected-note {{previous definition is here}} category
45 @interface A(Cat)<Q> @end // expected-warning {{duplicate definition of category 'Cat' on interface… category
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclObjC.cpp142 if (Cat->IsClassExtension()) in HasUserDeclaredSetterMethod()
148 for (const auto *P : Cat->properties()) in HasUserDeclaredSetterMethod()
288 if (!Cat->IsClassExtension()) in FindPropertyDeclaration()
729 Cat->getReferencedProtocols(); in lookupMethod()
1409 if (Cat == Container) in findPropertyDecl()
1728 for (auto *Cat : visible_categories()) in FindCategoryDeclaration() local
1729 if (Cat->getIdentifier() == CategoryId) in FindCategoryDeclaration()
1730 return Cat; in FindCategoryDeclaration()
1737 for (const auto *Cat : visible_categories()) { in getCategoryInstanceMethod() local
1747 for (const auto *Cat : visible_categories()) { in getCategoryClassMethod() local
[all …]
/llvm-project-15.0.7/libcxx/test/std/language.support/cmp/cmp.common/
H A Dcommon_comparison_category.pass.cpp27 using Cat = std::common_comparison_category<Args...>; in test_cat() typedef
28 using CatT = typename Cat::type; in test_cat()
/llvm-project-15.0.7/llvm/tools/sanstats/
H A Dsanstats.cpp26 static cl::OptionCategory Cat("sanstats Options"); variable
33 cl::cat(Cat));
129 cl::HideUnrelatedOptions(Cat); in main()

123