/llvm-project/lldb/test/API/lang/cpp/operators/ |
H A D | main.cpp | 6 struct C { struct 7 …void *operator new(std::size_t size) { void *p = ::operator new(size); side_effect = 3; return p; } in operator new() 8 …id *operator new[](std::size_t size) { void *p = ::operator new(size); side_effect = 4; return p; } in operator new[]() 9 void operator delete(void *p) { std::free(p); side_effect = 1; } in operator delete() 10 void operator delete[](void *p) { std::free(p); side_effect = 2; } in operator delete[]() 12 B b; 13 B* operator->() { return &b; } in operator ->() 14 int operator->*(int) { return 2; } in operator ->*() 15 int operator+(int) { return 44; } in operator +() 16 int operator+=(int) { return 42; } in operator +=() [all …]
|
/llvm-project/llvm/include/llvm/Support/ |
H A D | SwapByteOrder.h | 31 inline unsigned char getSwappedBytes(unsigned char C) { return llvm::byteswap(C); } in getSwappedBytes() 32 inline signed char getSwappedBytes( signed char C) { return llvm::byteswap(C); } in getSwappedBytes() 33 inline char getSwappedBytes( char C) { return llvm::byteswap(C); } in getSwappedBytes() 35 inline unsigned short getSwappedBytes(unsigned short C) { return llvm::byteswap(C); } in getSwappedBytes() 36 inline signed short getSwappedBytes( signed short C) { return llvm::byteswap(C); } in getSwappedBytes() 38 inline unsigned int getSwappedBytes(unsigned int C) { return llvm::byteswap(C); } in getSwappedBytes() 39 inline signed int getSwappedBytes( signed int C) { return llvm::byteswap(C); } in getSwappedBytes() 41 inline unsigned long getSwappedBytes(unsigned long C) { return llvm::byteswap(C); } in getSwappedBytes() 42 inline signed long getSwappedBytes( signed long C) { return llvm::byteswap(C); } in getSwappedBytes() 44 inline unsigned long long getSwappedBytes(unsigned long long C) { return llvm::byteswap(C); } in getSwappedBytes() [all …]
|
H A D | DataExtractor.h | 37 inline uint24_t getSwappedBytes(uint24_t C) { in getSwappedBytes() 136 const char *getCStr(Cursor &C) const { return getCStrRef(C).data(); } in getCStr() 169 StringRef getCStrRef(Cursor &C) const { in getCStrRef() 239 StringRef getBytes(Cursor &C, uint64_t Length) { in getBytes() 279 uint64_t getUnsigned(Cursor &C, uint32_t Size) const { in getUnsigned() 332 uint64_t getAddress(Cursor &C) const { return getUnsigned(C, AddressSize); } in getAddress() 359 uint8_t getU8(Cursor &C) const { return getU8(&C.Offset, &C.Err); } in getU8() 397 void getU8(Cursor &C, SmallVectorImpl<uint8_t> &Dst, uint32_t Count) const { in getU8() 433 uint16_t getU16(Cursor &C) const { return getU16(&C.Offset, &C.Err); } in getU16() 486 uint32_t getU24(Cursor &C) const { return getU24(&C.Offset, &C.Err); } in getU24() [all …]
|
/llvm-project/clang/test/CodeGenCXX/ |
H A D | mangle-local-class-vtables.cpp | 31 struct C : I { in G() struct 32 void F() const {} in G() 37 struct C : I { in G() struct 38 void F() const { G(); } in G() 39 void G() const {} in G() 44 struct C : I { in G() struct 45 void F() const { H(); } in G() 46 void H() const {} in G() 57 struct C : I { in K() struct 58 void F() const {} in K()
|
H A D | member-init-struct.cpp | 6 struct C { struct 11 _Complex float c; argument 13 void (C::*e)(); argument 14 C() : a(), c(), d(), e() {} in C() function 15 C(A x) : a(x) {} in C() argument 16 C(void (C::*x)(), int y) : b(), c(y), e(x) {} in C() argument
|
H A D | copy-assign-synthesis-3.cpp | 12 struct C { struct 17 _Complex float e; argument 22 void a(C& x, C& y) { in a() argument
|
H A D | attr-target-clones.cpp | 60 struct C { struct 64 struct C<int, U> { argument 68 struct C<float, U> { argument 72 struct C<double, float> { argument 77 C<short, short> c; in uses_specialized() argument
|
H A D | debug-info-gline-tables-only-codeview.cpp | 7 struct C { struct 21 NS::C c;
|
/llvm-project/clang/test/SemaCUDA/ |
H A D | inherited-ctor.cu | 13 struct C { struct 14 struct B b; 15 C() : b(0) {} in C() function 39 struct C { struct 40 struct B b; 41 …C() : b(0) {} // expected-error{{constructor inherited by 'B' from base class 'A' is implicitly de… in C() function 57 struct C { struct 58 struct B b; 59 C() {} in C() function 83 struct C { struct [all …]
|
/llvm-project/clang/test/SemaCXX/ |
H A D | constant-expression.cpp | 20 template <int itval, Enum etval> struct C { struct 21 enum E { 35 b1 : 1, 36 b2 : eval, 37 b3 : cval, 38 b4 : ceval, 39 b5 : Struct::sval, 40 b6 : Struct::seval, 41 b7 : itval, 42 b8 : etval, [all …]
|
H A D | using-hiding.cpp | 33 namespace C { namespace 48 namespace C { namespace 64 namespace C { namespace 79 namespace C { namespace 94 namespace C { namespace 109 namespace C { namespace 125 namespace C { namespace 141 namespace C { namespace 157 namespace C { namespace 173 namespace C { namespace [all …]
|
H A D | dependent-noexcept-uninstantiated.cpp | 7 template <class T> struct C { struct 12 void (C<int>::*tmp0)() noexcept = &C<A>::f0<B>; variable 13 int (C<int>::*tmp1)(int) noexcept = &C<A>::f1; variable
|
H A D | warn-self-assign-field-builtin.cpp | 3 struct C { struct 7 C(int a, int b) : a(a), b(b) {} in C() argument 9 void f() { in f() 38 void false_positives() { in false_positives() 76 struct TemplateClass { argument
|
/llvm-project/compiler-rt/lib/orc/ |
H A D | endianness.h | 101 inline unsigned char getSwappedBytes(unsigned char C) { return C; } in getSwappedBytes() argument 102 inline signed char getSwappedBytes(signed char C) { return C; } in getSwappedBytes() argument 103 inline char getSwappedBytes(char C) { return C; } in getSwappedBytes() argument 105 inline unsigned short getSwappedBytes(unsigned short C) { in getSwappedBytes() argument 108 inline signed short getSwappedBytes(signed short C) { retur in getSwappedBytes() argument 110 getSwappedBytes(unsigned int C) getSwappedBytes() argument 111 getSwappedBytes(signed int C) getSwappedBytes() argument 113 getSwappedBytes(unsigned long C) getSwappedBytes() argument 118 getSwappedBytes(signed long C) getSwappedBytes() argument 124 getSwappedBytes(unsigned long long C) getSwappedBytes() argument 127 getSwappedBytes(signed long long C) getSwappedBytes() argument 132 getSwappedBytes(T C) getSwappedBytes() argument [all...] |
/llvm-project/clang/lib/AST/ |
H A D | OpenACCClause.cpp | 20 bool OpenACCClauseWithParams::classof(const OpenACCClause *C) { in classof() argument 25 bool OpenACCClauseWithExprs::classof(const OpenACCClause *C) { in classof() argument 30 classof(const OpenACCClause * C) classof() argument 40 classof(const OpenACCClause * C) classof() argument 43 classof(const OpenACCClause * C) classof() argument 48 Create(const ASTContext & C,OpenACCDefaultClauseKind K,SourceLocation BeginLoc,SourceLocation LParenLoc,SourceLocation EndLoc) Create() argument 59 Create(const ASTContext & C,SourceLocation BeginLoc,SourceLocation LParenLoc,Expr * ConditionExpr,SourceLocation EndLoc) Create() argument 79 Create(const ASTContext & C,SourceLocation BeginLoc,SourceLocation LParenLoc,Expr * ConditionExpr,SourceLocation EndLoc) Create() argument 128 Create(const ASTContext & C,SourceLocation BeginLoc,SourceLocation LParenLoc,Expr * IntExpr,SourceLocation EndLoc) Create() argument 149 Create(const ASTContext & C,SourceLocation BeginLoc,SourceLocation LParenLoc,Expr * IntExpr,SourceLocation EndLoc) Create() argument 168 Create(const ASTContext & C,SourceLocation BeginLoc,SourceLocation LParenLoc,Expr * IntExpr,SourceLocation EndLoc) Create() argument 179 Create(const ASTContext & C,SourceLocation BeginLoc,SourceLocation LParenLoc,Expr * DevNumExpr,SourceLocation QueuesLoc,ArrayRef<Expr * > QueueIdExprs,SourceLocation EndLoc) Create() argument 190 Create(const ASTContext & C,SourceLocation BeginLoc,SourceLocation LParenLoc,ArrayRef<Expr * > IntExprs,SourceLocation EndLoc) Create() argument 200 Create(const ASTContext & C,SourceLocation BeginLoc,SourceLocation LParenLoc,ArrayRef<Expr * > VarList,SourceLocation EndLoc) Create() argument 211 Create(const ASTContext & C,SourceLocation BeginLoc,SourceLocation LParenLoc,ArrayRef<Expr * > VarList,SourceLocation EndLoc) Create() argument 219 Create(const ASTContext & C,SourceLocation BeginLoc,SourceLocation LParenLoc,ArrayRef<Expr * > VarList,SourceLocation EndLoc) Create() argument 229 Create(const ASTContext & C,SourceLocation BeginLoc,SourceLocation LParenLoc,ArrayRef<Expr * > VarList,SourceLocation EndLoc) Create() argument 239 Create(const ASTContext & C,SourceLocation BeginLoc,SourceLocation LParenLoc,ArrayRef<Expr * > VarList,SourceLocation EndLoc) Create() argument 249 Create(const ASTContext & C,SourceLocation BeginLoc,SourceLocation LParenLoc,ArrayRef<Expr * > VarList,SourceLocation EndLoc) Create() argument 260 Create(const ASTContext & C,OpenACCClauseKind Spelling,SourceLocation BeginLoc,SourceLocation LParenLoc,ArrayRef<Expr * > VarList,SourceLocation EndLoc) Create() argument 270 Create(const ASTContext & C,OpenACCClauseKind Spelling,SourceLocation BeginLoc,SourceLocation LParenLoc,bool IsReadOnly,ArrayRef<Expr * > VarList,SourceLocation EndLoc) Create() argument 281 Create(const ASTContext & C,OpenACCClauseKind Spelling,SourceLocation BeginLoc,SourceLocation LParenLoc,bool IsZero,ArrayRef<Expr * > VarList,SourceLocation EndLoc) Create() argument 292 Create(const ASTContext & C,OpenACCClauseKind Spelling,SourceLocation BeginLoc,SourceLocation LParenLoc,bool IsZero,ArrayRef<Expr * > VarList,SourceLocation EndLoc) Create() argument 303 Create(const ASTContext & C,OpenACCClauseKind K,SourceLocation BeginLoc,SourceLocation LParenLoc,ArrayRef<DeviceTypeArgument> Archs,SourceLocation EndLoc) Create() argument 314 Create(const ASTContext & C,SourceLocation BeginLoc,SourceLocation LParenLoc,OpenACCReductionOperator Operator,ArrayRef<Expr * > VarList,SourceLocation EndLoc) Create() argument 323 Create(const ASTContext & C,SourceLocation BeginLoc,SourceLocation EndLoc) Create() argument 331 Create(const ASTContext & C,SourceLocation BeginLoc,SourceLocation EndLoc) Create() argument 337 Create(const ASTContext & C,SourceLocation BeginLoc,SourceLocation EndLoc) Create() argument 344 Create(const ASTContext & C,SourceLocation BeginLoc,SourceLocation EndLoc) Create() argument 351 Create(const ASTContext & C,SourceLocation BeginLoc,SourceLocation EndLoc) Create() argument 358 Create(const ASTContext & C,SourceLocation BeginLoc,SourceLocation EndLoc) Create() argument 373 VisitDefaultClause(const OpenACCDefaultClause & C) VisitDefaultClause() argument 377 VisitIfClause(const OpenACCIfClause & C) VisitIfClause() argument 383 VisitSelfClause(const OpenACCSelfClause & C) VisitSelfClause() argument 392 VisitNumGangsClause(const OpenACCNumGangsClause & C) VisitNumGangsClause() argument 400 VisitNumWorkersClause(const OpenACCNumWorkersClause & C) VisitNumWorkersClause() argument 407 VisitVectorLengthClause(const OpenACCVectorLengthClause & C) VisitVectorLengthClause() argument 413 VisitAsyncClause(const OpenACCAsyncClause & C) VisitAsyncClause() argument 422 VisitPrivateClause(const OpenACCPrivateClause & C) VisitPrivateClause() argument 430 VisitFirstPrivateClause(const OpenACCFirstPrivateClause & C) VisitFirstPrivateClause() argument 437 VisitAttachClause(const OpenACCAttachClause & C) VisitAttachClause() argument 445 VisitDevicePtrClause(const OpenACCDevicePtrClause & C) VisitDevicePtrClause() argument 452 VisitNoCreateClause(const OpenACCNoCreateClause & C) VisitNoCreateClause() argument 459 VisitPresentClause(const OpenACCPresentClause & C) VisitPresentClause() argument 466 VisitCopyClause(const OpenACCCopyClause & C) VisitCopyClause() argument 473 VisitCopyInClause(const OpenACCCopyInClause & C) VisitCopyInClause() argument 482 VisitCopyOutClause(const OpenACCCopyOutClause & C) VisitCopyOutClause() argument 491 VisitCreateClause(const OpenACCCreateClause & C) VisitCreateClause() argument 501 VisitReductionClause(const OpenACCReductionClause & C) VisitReductionClause() argument 508 VisitWaitClause(const OpenACCWaitClause & C) VisitWaitClause() argument 528 VisitDeviceTypeClause(const OpenACCDeviceTypeClause & C) VisitDeviceTypeClause() argument 541 VisitAutoClause(const OpenACCAutoClause & C) VisitAutoClause() argument 546 VisitIndependentClause(const OpenACCIndependentClause & C) VisitIndependentClause() argument 550 VisitSeqClause(const OpenACCSeqClause & C) VisitSeqClause() argument [all...] |
/llvm-project/clang/test/Analysis/ |
H A D | cast-value-notes.cpp | 75 const auto &C = dyn_cast<Circle>(S); in evalReferences() local 86 const auto &C = dyn_cast<DEVICE Circle>(S); in evalReferences_addrspace() local 95 const auto &C = dyn_cast<DEVICE Circle>(S); in evalReferences_addrspace() local 107 const auto &C = dyn_cast<Circle>(S); in evalReferences() local 114 const auto &C = dyn_cast<DEVICE Circle>(S); in evalReferences_addrspace() local 121 const auto *C = dyn_cast_or_null<Circle>(S); in evalNonNullParamNonNullReturnReference() local 178 const auto *C = cast<Circle>(S); in evalNonNullParamNonNullReturn() local 236 const auto *C = dyn_cast_or_null<Circle>(S); in evalNonNullParamNullReturn() local 253 const auto *C = dyn_cast_or_null<Circle>(S); in evalNullParamNullReturn() local 263 const auto *C = S->castAs<Circle>(); in evalZeroParamNonNullReturnPointer() local [all …]
|
/llvm-project/libcxx/test/std/containers/sequences/forwardlist/forwardlist.modifiers/ |
H A D | pop_front.pass.cpp | 24 typedef std::forward_list<T> C; in main() typedef 25 typedef std::forward_list<T> C; in main() typedef 38 typedef std::forward_list<T> C; in main() typedef 50 typedef std::forward_list<T, min_allocator<T>> C; in main() typedef 51 typedef std::forward_list<T, min_allocator<T>> C; in main() typedef 63 typedef std::forward_list<T, min_allocator<T>> C; in main() typedef
|
/llvm-project/clang/test/SemaObjC/ |
H A D | qualified-protocol-method-conflicts.m | 5 +(int) C; // expected-note {{previous declaration is here}} class 10 +(float) C; // expected-note 2 {{previous declaration is here}} class 18 +(int) C {return 0; } // expected-warning {{conflicting return type in declaration of 'C': 'float' … class 26 + (float) C {return 0.0; } // expected-warning {{conflicting return type in declaration of 'C': 'in… class 32 @interface C<Xint_float> interface 35 @implementation C implementation 37 + (int) C {return 0;} // expected-warning {{conflicting return type in declaration of 'C': 'float' … class
|
/llvm-project/libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/ |
H A D | decimal_point.pass.cpp | 29 typedef char C; in main() typedef 35 typedef wchar_t C; in main() typedef 44 typedef char C; in main() typedef 50 typedef wchar_t C; in main() typedef 59 typedef char C; in main() typedef 65 typedef wchar_t C; in main() typedef
|
H A D | grouping.pass.cpp | 34 typedef char C; in main() typedef 40 typedef wchar_t C; in main() typedef 49 typedef char C; in main() typedef 59 typedef wchar_t C; main() typedef 77 typedef char C; main() typedef 83 typedef wchar_t C; main() typedef [all...] |
H A D | thousands_sep.pass.cpp | 35 typedef char C; in main() typedef 41 typedef wchar_t C; in main() typedef 50 typedef char C; in main() typedef 56 typedef wchar_t C; main() typedef 71 typedef char C; main() typedef 86 typedef wchar_t C; main() typedef [all...] |
/llvm-project/llvm/lib/CodeGen/MIRParser/ |
H A D | MILexer.cpp | 85 static Cursor skipWhitespace(Cursor C) { in skipWhitespace() argument 91 static bool isNewlineChar(char C) { return C argument 94 skipComment(Cursor C) skipComment() argument 104 skipMachineOperandComment(Cursor C) skipMachineOperandComment() argument 118 isIdentifierChar(char C) isIdentifierChar() argument 128 Cursor C = Cursor(Value.substr(1, Value.size() - 2)); unescapeQuotedString() local 154 lexStringConstant(Cursor C,ErrorCallbackType ErrorCallback) lexStringConstant() argument 168 lexName(Cursor C,MIToken & Token,MIToken::TokenKind Type,unsigned PrefixLength,ErrorCallbackType ErrorCallback) lexName() argument 293 maybeLexIdentifier(Cursor C,MIToken & Token) maybeLexIdentifier() argument 305 maybeLexMachineBasicBlock(Cursor C,MIToken & Token,ErrorCallbackType ErrorCallback) maybeLexMachineBasicBlock() argument 340 maybeLexIndex(Cursor C,MIToken & Token,StringRef Rule,MIToken::TokenKind Kind) maybeLexIndex() argument 353 maybeLexIndexAndName(Cursor C,MIToken & Token,StringRef Rule,MIToken::TokenKind Kind) maybeLexIndexAndName() argument 376 maybeLexJumpTableIndex(Cursor C,MIToken & Token) maybeLexJumpTableIndex() argument 380 maybeLexStackObject(Cursor C,MIToken & Token) maybeLexStackObject() argument 384 maybeLexFixedStackObject(Cursor C,MIToken & Token) maybeLexFixedStackObject() argument 388 maybeLexConstantPoolItem(Cursor C,MIToken & Token) maybeLexConstantPoolItem() argument 392 maybeLexSubRegisterIndex(Cursor C,MIToken & Token,ErrorCallbackType ErrorCallback) maybeLexSubRegisterIndex() argument 401 maybeLexIRBlock(Cursor C,MIToken & Token,ErrorCallbackType ErrorCallback) maybeLexIRBlock() argument 411 maybeLexIRValue(Cursor C,MIToken & Token,ErrorCallbackType ErrorCallback) maybeLexIRValue() argument 421 maybeLexStringConstant(Cursor C,MIToken & Token,ErrorCallbackType ErrorCallback) maybeLexStringConstant() argument 429 lexVirtualRegister(Cursor C,MIToken & Token) lexVirtualRegister() argument 441 isRegisterChar(char C) isRegisterChar() argument 445 lexNamedVirtualRegister(Cursor C,MIToken & Token) lexNamedVirtualRegister() argument 455 maybeLexRegister(Cursor C,MIToken & Token,ErrorCallbackType ErrorCallback) maybeLexRegister() argument 480 maybeLexGlobalValue(Cursor C,MIToken & Token,ErrorCallbackType ErrorCallback) maybeLexGlobalValue() argument 497 maybeLexExternalSymbol(Cursor C,MIToken & Token,ErrorCallbackType ErrorCallback) maybeLexExternalSymbol() argument 505 maybeLexMCSymbol(Cursor C,MIToken & Token,ErrorCallbackType ErrorCallback) maybeLexMCSymbol() argument 552 isValidHexFloatingPointPrefix(char C) isValidHexFloatingPointPrefix() argument 556 lexFloatingPointLiteral(Cursor Range,Cursor C,MIToken & Token) lexFloatingPointLiteral() argument 572 maybeLexHexadecimalLiteral(Cursor C,MIToken & Token) maybeLexHexadecimalLiteral() argument 594 maybeLexNumericalLiteral(Cursor C,MIToken & Token) maybeLexNumericalLiteral() argument 619 maybeLexExclaim(Cursor C,MIToken & Token,ErrorCallbackType ErrorCallback) maybeLexExclaim() argument 639 symbolToken(char C) symbolToken() argument 670 maybeLexSymbol(Cursor C,MIToken & Token) maybeLexSymbol() argument 686 maybeLexNewline(Cursor C,MIToken & Token) maybeLexNewline() argument 695 maybeLexEscapedIRValue(Cursor C,MIToken & Token,ErrorCallbackType ErrorCallback) maybeLexEscapedIRValue() argument 720 auto C = skipComment(skipWhitespace(Cursor(Source))); lexMIToken() local [all...] |
/llvm-project/lldb/test/API/lang/cpp/function-qualifiers/ |
H A D | main.cpp | 1 struct C { struct 10 C c; in main() argument
|
/llvm-project/libcxx/test/std/containers/sequences/forwardlist/forwardlist.iter/ |
H A D | before_begin.pass.cpp | 26 typedef std::forward_list<T> C; in main() typedef 33 typedef std::forward_list<T> C; in main() typedef 40 typedef std::forward_list<T> C; in main() typedef 48 typedef std::forward_list<T> C; in main() typedef 57 typedef std::forward_list<T> C; in main() typedef 66 typedef std::forward_list<T, min_allocator<T>> C; in main() typedef 73 typedef std::forward_list<T, min_allocator<T>> C; in main() typedef 80 typedef std::forward_list<T, min_allocator<T>> C; in main() typedef 88 typedef std::forward_list<T, min_allocator<T>> C; in main() typedef 97 typedef std::forward_list<T, min_allocator<T>> C; in main() typedef
|
/llvm-project/clang/test/CXX/class/class.local/ |
H A D | p1-0x.cpp | 6 struct C { in f() struct 7 …nt& x2 = x; // expected-error{{reference to local variable 'x' declared in enclosing function 'f'}} in f() 8 int cc = c; in f() 12 struct C { in f() struct 13 …2 = x; // expected-error{{reference to local variable 'x' declared in enclosing lambda expression}} in f()
|