Home
last modified time | relevance | path

Searched refs:HasShort (Results 1 – 2 of 2) sorted by relevance

/external/llvm/unittests/Support/
DTrailingObjectsTest.cpp55 bool HasShort, HasDouble; member in __anon66f92f250111::Class2
59 return HasShort ? 1 : 0; in numTrailingObjects()
65 Class2(bool HasShort, bool HasDouble) in Class2() argument
66 : HasShort(HasShort), HasDouble(HasDouble) {} in Class2()
70 bool HasShort = S != 0; in create() local
74 ::operator new(totalSizeToAlloc<double, short>(HasDouble, HasShort)); in create()
75 Class2 *C = new (Mem) Class2(HasShort, HasDouble); in create()
76 if (HasShort) in create()
85 if (!HasShort) in getShort()
/external/llvm-project/llvm/unittests/Support/
DTrailingObjectsTest.cpp57 bool HasShort, HasDouble; member in __anon3b787c530111::Class2
61 return HasShort ? 1 : 0; in numTrailingObjects()
67 Class2(bool HasShort, bool HasDouble) in Class2() argument
68 : HasShort(HasShort), HasDouble(HasDouble) {} in Class2()
72 bool HasShort = S != 0; in create() local
76 ::operator new(totalSizeToAlloc<double, short>(HasDouble, HasShort)); in create()
77 Class2 *C = new (Mem) Class2(HasShort, HasDouble); in create()
78 if (HasShort) in create()
87 if (!HasShort) in getShort()