| /llvm-project-15.0.7/lldb/test/API/lang/cpp/chained-calls/ |
| H A D | main.cpp | 1 class Bool { class 3 Bool operator&(const Bool other) in operator &() 5 Bool result; in operator &() 13 bool get(Bool object) in get() 18 Bool set(bool value) in set() 20 Bool result; in set() 27 Bool t = set(true); in main() 28 Bool f = set(false); in main()
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | cast.c | 19 typedef _Bool Bool; typedef 32 (void) (Bool) v; in testBool() 46 (void) (Bool) v; in testInt() 68 (void) (Bool) v; in testLong() 82 (void) (Bool) v; in testFloat() 94 (void) (Bool) v; in testDouble() 106 (void) (Bool) v; in testCI() 118 (void) (Bool) v; in testCLong() 130 (void) (Bool) v; in testCFloat() 154 (void)(Bool) v; in testVoidPtr() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | SimplifyBooleanExprCheck.cpp | 304 return Bool->getValue(); in getAsBoolLiteral() 319 bool Bool = false; member 367 if (*Bool) in VisitIfStmt() 382 if (ElseReturnBool && ThenReturnBool.Bool != ElseReturnBool.Bool) { in VisitIfStmt() 422 ElseAssignment.Bool != ThenAssignment.Bool) { in VisitIfStmt() 474 ThenReturnBool.Bool != TrailingReturnBool.Bool) { in VisitCompoundStmt() 498 ThenReturnBool.Bool != TrailingReturnBool.Bool) { in VisitCompoundStmt() 615 const CXXBoolLiteralExpr *Bool; in reportBinOp() local 624 if (Bool->getBeginLoc().isMacroID()) in reportBinOp() 631 bool BoolValue = Bool->getValue(); in reportBinOp() [all …]
|
| H A D | ImplicitBoolConversionCheck.h | 26 return LangOpts.Bool; in isLanguageVersionSupported()
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | cxx-ambig-init-templ.cpp | 96 template<bool> struct Bool { Bool(int); }; struct 101 int f(Bool<true> = X<Y, Bool<in_class> >(0)); 104 int g(Bool<true> = Z<Y, Bool<in_class> = Bool<false>(0));
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.decls/temp.friend/ |
| H A D | p1.cpp | 92 class Bool; 94 template <class T> T transform(class Bool, T); 96 class Bool { class 98 friend bool transform<>(Bool, bool); 104 static T compute(Bool b) { in compute() 109 template <class T> T transform(Bool b, T value) { in transform() 115 template bool transform(Bool, bool); 116 template int transform(Bool, int); // expected-note {{requested here}}
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | PrettyPrinter.h | 67 SuppressDefaultTemplateArgs(true), Bool(LO.Bool), in PrintingPolicy() 86 Bool = true; in adjustForCPlusPlus() 193 unsigned Bool : 1; member
|
| H A D | TypeProperties.td | 266 def : Property<"noReturn", Bool> { 269 def : Property<"hasRegParm", Bool> { 284 def : Property<"noCfCheck", Bool> { 287 def : Property<"cmseNSCall", Bool> { 303 def : Property<"variadic", Bool> { 483 def : Property<"dependent", Bool> { 496 def : Property<"dependent", Bool> { 653 def : Property<"dependent", Bool> { 902 def : Property<"isReadOnly", Bool> { 912 def : Property<"isUnsigned", Bool> { [all …]
|
| H A D | PropertiesBase.td | 80 def Bool : PropertyType<"bool">; 359 def : Property<"hasFiller", Bool> { 426 def : Property<"isDerived", Bool> { 463 def : Property<"hasLValuePath", Bool> { 466 def : Property<"isLValueOnePastTheEnd", Bool> { 469 def : Property<"isExpr", Bool> { 472 def : Property<"isTypeInfo", Bool> { 475 def : Property<"hasBase", Bool> { 478 def : Property<"isNullPtr", Bool> { 663 def : Property<"hasTemplateKeyword", Bool> {
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/ |
| H A D | PDBTypes.h | 344 Bool = 10, enumerator 407 Bool, enumerator 414 explicit Variant(bool V) : Type(PDB_VariantType::Bool) { Value.Bool = V; } in Variant() 455 bool Bool; member 471 case Bool: in isIntegralType() 492 VARIANT_WIDTH(Bool, 1u) in getBitWidth() 517 VARIANT_APSINT(Bool, 1u, true) in toAPSInt() 559 VARIANT_EQUAL_CASE(Bool)
|
| /llvm-project-15.0.7/clang/test/Layout/ |
| H A D | aix-bitfield-alignment.cpp | 21 enum class Bool : bool { False = 0, enum 25 Bool b : 1;
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | ubsan-bitfields.cpp | 23 struct Bool { struct 30 bool load_cpp_bool(Bool *b) { in load_cpp_bool() argument
|
| /llvm-project-15.0.7/clang/test/CXX/class/class.compare/class.rel/ |
| H A D | p1.cpp | 12 enum Bool : bool {}; enum 16 …friend Bool operator<=(const Bad&, const Bad&) = default; // expected-error {{return type for defa…
|
| /llvm-project-15.0.7/clang/test/CXX/class/class.compare/class.eq/ |
| H A D | p1.cpp | 12 enum Bool : bool {}; enum 16 …friend Bool operator==(const Bad&, const Bad&) = default; // expected-error {{return type for defa…
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | sext-i1.ll | 124 ; sext (xor Bool, -1) --> sub (zext Bool), 1 145 ; sext (xor Bool, -1) --> sub (zext Bool), 1 164 ; sext (xor Bool, -1) --> sub (zext Bool), 1
|
| /llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/ |
| H A D | MsgPackDocument.h | 57 bool Bool; member 94 return Bool; in getBool() 114 return Bool; in getBool() 168 return Lhs.Bool < Rhs.Bool; 344 N.Bool = V; in getNode()
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | annotate-tokens-cxx0x.cpp | 12 typedef bool Bool; in test() typedef 13 bool b2 = __is_trivially_constructible(Integer, Float, Bool); in test()
|
| H A D | complete-super.m | 4 typedef int Bool; typedef 8 + (void)select:(Bool)condition first:(int)x second:(int)y; argument 15 + (void)select:(Bool)condition first:(int)x second:(int)y; argument 23 + (void)select:(Bool)condition first:(int)a second:(int)b { argument
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | easily-swappable-parameters-ignore-default.cpp | 9 using Bool = A; typedef 42 void f2(IgnoredTypes::Bool Foo, IgnoredTypes::Bool Bar) {} in f2()
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | BitFieldsTest.cpp | 20 using Bool = Bitfield::Element<bool, 0, 1>; in TEST() typedef 21 Bitfield::set<Bool>(Storage, true); in TEST() 24 EXPECT_EQ(Bitfield::get<Bool>(Storage), true); in TEST() 55 EXPECT_EQ(Bitfield::get<Bool>(Storage), false); in TEST() 61 EXPECT_EQ(Bitfield::get<Bool>(Storage), true); in TEST()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SPIRV/ |
| H A D | AtomicCompareExchange.ll | 9 ; CHECK-SPIRV-DAG: %[[#Bool:]] = OpTypeBool 10 ; CHECK-SPIRV-DAG: %[[#Struct:]] = OpTypeStruct %[[#Int]] %[[#Bool]] 23 ; CHECK-SPIRV: %[[#]] = OpCompositeExtract %[[#Bool]] %[[#Composite_1]] 1
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | Opcodes.td | 19 def Bool : Type; 69 Uint32, Sint64, Uint64, Bool]; 120 // [Bool] -> [], jumps if true. 122 // [Bool] -> [], jumps if false. 181 def ConstBool : ConstOpcode<Bool, ArgBool>;
|
| /llvm-project-15.0.7/clang/test/OpenMP/ |
| H A D | for_codegen.cpp | 658 struct Bool { struct 659 Bool(bool b) : b(b) {} in Bool() function 697 typedef Bool BoolType;
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | current-instantiation.cpp | 170 struct Bool { struct 173 struct True : public Bool<true> {}; 174 struct False : public Bool<false> {};
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | explicit.cpp | 116 struct Bool { in testBool() struct 123 Bool b; in testBool()
|