/external/llvm-project/clang/test/Analysis/ |
D | DeleteWithNonVirtualDtor.cpp | 9 struct NonVirtual { struct 10 ~NonVirtual() {} in ~NonVirtual() argument 13 struct NVDerived : public NonVirtual {}; 35 NonVirtual *create() { in create() 36 NonVirtual *x = new NVDerived(); // expected-note{{Conversion from derived to base happened here}} in create() 40 void sink(NonVirtual *x) { in sink() 45 void sinkCast(NonVirtual *y) { in sinkCast() 54 NonVirtual *sd; in singleDerived() 61 …NonVirtual *sda = new NVDerived[5]; // expected-note{{Conversion from derived to base happened her… in singleDerivedArr() 67 …NonVirtual *dd = new NVDoubleDerived(); // expected-note{{Conversion from derived to base happened… in doubleDerived() [all …]
|
/external/clang/include/clang/Basic/ |
D | ABI.h | 45 int64_t NonVirtual; member 85 ReturnAdjustment() : NonVirtual(0) {} in ReturnAdjustment() 87 bool isEmpty() const { return !NonVirtual && Virtual.isEmpty(); } in isEmpty() 91 return LHS.NonVirtual == RHS.NonVirtual && LHS.Virtual.Equals(RHS.Virtual); 100 if (LHS.NonVirtual < RHS.NonVirtual) 103 return LHS.NonVirtual == RHS.NonVirtual && LHS.Virtual.Less(RHS.Virtual); 111 int64_t NonVirtual; member 153 ThisAdjustment() : NonVirtual(0) { } in ThisAdjustment() 155 bool isEmpty() const { return !NonVirtual && Virtual.isEmpty(); } in isEmpty() 159 return LHS.NonVirtual == RHS.NonVirtual && LHS.Virtual.Equals(RHS.Virtual); [all …]
|
/external/llvm-project/clang/include/clang/Basic/ |
D | ABI.h | 44 int64_t NonVirtual; member 84 ReturnAdjustment() : NonVirtual(0) {} in ReturnAdjustment() 86 bool isEmpty() const { return !NonVirtual && Virtual.isEmpty(); } in isEmpty() 90 return LHS.NonVirtual == RHS.NonVirtual && LHS.Virtual.Equals(RHS.Virtual); 99 if (LHS.NonVirtual < RHS.NonVirtual) 102 return LHS.NonVirtual == RHS.NonVirtual && LHS.Virtual.Less(RHS.Virtual); 110 int64_t NonVirtual; member 152 ThisAdjustment() : NonVirtual(0) { } in ThisAdjustment() 154 bool isEmpty() const { return !NonVirtual && Virtual.isEmpty(); } in isEmpty() 158 return LHS.NonVirtual == RHS.NonVirtual && LHS.Virtual.Equals(RHS.Virtual); [all …]
|
/external/llvm-project/clang/lib/AST/ |
D | VTableBuilder.cpp | 1202 Adjustment.NonVirtual = Offset.NonVirtualOffset.getQuantity(); in ComputeReturnAdjustment() 1298 Adjustment.NonVirtual = Offset.NonVirtualOffset.getQuantity(); in ComputeThisAdjustment() 1966 Out << Thunk.Return.NonVirtual << " non-virtual"; in dumpLayout() 1979 Out << Thunk.This.NonVirtual << " non-virtual"; in dumpLayout() 2014 Out << Thunk.This.NonVirtual << " non-virtual"; in dumpLayout() 2137 Out << "return adjustment: " << Thunk.Return.NonVirtual; in dumpLayout() 2151 Out << Thunk.This.NonVirtual << " non-virtual"; in dumpLayout() 2898 TA.NonVirtual = (ThisOffset - Overrider.Offset).getQuantity(); in CalculateVtordispAdjustment() 3000 ThisAdjustmentOffset.NonVirtual = in AddMethods() 3081 ReturnAdjustment.NonVirtual = in AddMethods() [all …]
|
D | ItaniumMangle.cpp | 420 void mangleCallOffset(int64_t NonVirtual, int64_t Virtual); 1077 void CXXNameMangler::mangleCallOffset(int64_t NonVirtual, int64_t Virtual) { in mangleCallOffset() argument 1085 mangleNumber(NonVirtual); in mangleCallOffset() 1091 mangleNumber(NonVirtual); in mangleCallOffset() 5701 Mangler.mangleCallOffset(Thunk.This.NonVirtual, in mangleThunk() 5706 Mangler.mangleCallOffset(Thunk.Return.NonVirtual, in mangleThunk() 5721 Mangler.mangleCallOffset(ThisAdjustment.NonVirtual, in mangleCXXDtorThunk()
|
D | MicrosoftMangle.cpp | 3297 Mangler.mangleNumber(static_cast<uint32_t>(Adjustment.NonVirtual)); in mangleThunkThisAdjustment() 3302 Mangler.mangleNumber(-static_cast<uint32_t>(Adjustment.NonVirtual)); in mangleThunkThisAdjustment() 3304 } else if (Adjustment.NonVirtual != 0) { in mangleThunkThisAdjustment() 3317 Mangler.mangleNumber(-static_cast<uint32_t>(Adjustment.NonVirtual)); in mangleThunkThisAdjustment()
|
/external/clang/lib/AST/ |
D | VTableBuilder.cpp | 1205 Adjustment.NonVirtual = Offset.NonVirtualOffset.getQuantity(); in ComputeReturnAdjustment() 1301 Adjustment.NonVirtual = Offset.NonVirtualOffset.getQuantity(); in ComputeThisAdjustment() 1960 Out << Thunk.Return.NonVirtual << " non-virtual"; in dumpLayout() 1973 Out << Thunk.This.NonVirtual << " non-virtual"; in dumpLayout() 2008 Out << Thunk.This.NonVirtual << " non-virtual"; in dumpLayout() 2132 Out << "return adjustment: " << Thunk.Return.NonVirtual; in dumpLayout() 2146 Out << Thunk.This.NonVirtual << " non-virtual"; in dumpLayout() 2877 TA.NonVirtual = (ThisOffset - Overrider.Offset).getQuantity(); in CalculateVtordispAdjustment() 2979 ThisAdjustmentOffset.NonVirtual = in AddMethods() 3058 ReturnAdjustment.NonVirtual = in AddMethods() [all …]
|
D | ItaniumMangle.cpp | 432 void mangleCallOffset(int64_t NonVirtual, int64_t Virtual); 1007 void CXXNameMangler::mangleCallOffset(int64_t NonVirtual, int64_t Virtual) { in mangleCallOffset() argument 1015 mangleNumber(NonVirtual); in mangleCallOffset() 1021 mangleNumber(NonVirtual); in mangleCallOffset() 4519 Mangler.mangleCallOffset(Thunk.This.NonVirtual, in mangleThunk() 4524 Mangler.mangleCallOffset(Thunk.Return.NonVirtual, in mangleThunk() 4539 Mangler.mangleCallOffset(ThisAdjustment.NonVirtual, in mangleCXXDtorThunk()
|
D | MicrosoftMangle.cpp | 2513 Mangler.mangleNumber(static_cast<uint32_t>(Adjustment.NonVirtual)); in mangleThunkThisAdjustment() 2518 Mangler.mangleNumber(-static_cast<uint32_t>(Adjustment.NonVirtual)); in mangleThunkThisAdjustment() 2520 } else if (Adjustment.NonVirtual != 0) { in mangleThunkThisAdjustment() 2533 Mangler.mangleNumber(-static_cast<uint32_t>(Adjustment.NonVirtual)); in mangleThunkThisAdjustment()
|
/external/clang/lib/CodeGen/ |
D | MicrosoftCXXABI.cpp | 2084 if (TA.NonVirtual) { in performThisAdjustment() 2088 V = CGF.Builder.CreateConstGEP1_32(V, TA.NonVirtual); in performThisAdjustment() 2115 if (RA.NonVirtual) in performReturnAdjustment() 2116 V = CGF.Builder.CreateConstInBoundsGEP1_32(CGF.Int8Ty, V, RA.NonVirtual); in performReturnAdjustment()
|
D | ItaniumCXXABI.cpp | 1703 return performTypeAdjustment(CGF, This, TA.NonVirtual, in performThisAdjustment() 1711 return performTypeAdjustment(CGF, Ret, RA.NonVirtual, in performReturnAdjustment()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | MicrosoftCXXABI.cpp | 2215 if (TA.NonVirtual) { in performThisAdjustment() 2219 V = CGF.Builder.CreateConstGEP1_32(V, TA.NonVirtual); in performThisAdjustment() 2246 if (RA.NonVirtual) in performReturnAdjustment() 2247 V = CGF.Builder.CreateConstInBoundsGEP1_32(CGF.Int8Ty, V, RA.NonVirtual); in performReturnAdjustment()
|
D | ItaniumCXXABI.cpp | 2085 return performTypeAdjustment(CGF, This, TA.NonVirtual, in performThisAdjustment() 2093 return performTypeAdjustment(CGF, Ret, RA.NonVirtual, in performReturnAdjustment()
|
/external/llvm-project/clang/docs/analyzer/ |
D | checkers.rst | 1741 NonVirtual *create() { 1742 NonVirtual *x = new NVDerived(); // note: conversion from derived to base 1747 void sink(NonVirtual *x) {
|