Home
last modified time | relevance | path

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

/external/llvm/unittests/Support/
DTrailingObjectsTest.cpp54 bool HasShort, HasDouble; member in __anon01dcfd6a0111::Class2
58 return HasShort ? 1 : 0; in numTrailingObjects()
64 Class2(bool HasShort, bool HasDouble) in Class2() argument
65 : HasShort(HasShort), HasDouble(HasDouble) {} in Class2()
69 bool HasShort = S != 0; in create() local
73 ::operator new(totalSizeToAlloc<double, short>(HasDouble, HasShort)); in create()
74 Class2 *C = new (Mem) Class2(HasShort, HasDouble); in create()
75 if (HasShort) in create()
83 if (!HasShort) in getShort()