Searched refs:NonConst (Results 1 – 9 of 9) sorted by relevance
40 struct NonConst { struct41 NonConst(NonConst&) = default;42 NonConst& operator=(NonConst&) = default;55 NonConst nc;61 NonConst nc; // makes implicit copy non-const
53 typedef PointerLikeTypeTraits<T*> NonConst; typedef57 return NonConst::getAsVoidPointer(const_cast<T*>(P)); in getAsVoidPointer()60 return NonConst::getFromVoidPointer(const_cast<void*>(P)); in getFromVoidPointer()62 enum { NumLowBitsAvailable = NonConst::NumLowBitsAvailable };
51 struct NonConst { struct52 NonConst(NonConst&);60 NonConst NC;83 NonConst NC;
65 typedef PointerLikeTypeTraits<T *> NonConst;69 return NonConst::getAsVoidPointer(const_cast<T *>(P));72 return NonConst::getFromVoidPointer(const_cast<void *>(P));74 enum { NumLowBitsAvailable = NonConst::NumLowBitsAvailable };
67 typedef PointerLikeTypeTraits<T *> NonConst;71 return NonConst::getAsVoidPointer(const_cast<T *>(P));74 return NonConst::getFromVoidPointer(const_cast<void *>(P));76 enum { NumLowBitsAvailable = NonConst::NumLowBitsAvailable };
391 TEST(PrintCStringTest, NonConst) { in TEST() argument428 TEST(PrintWideCStringTest, NonConst) { in TEST() argument
397 TEST(PrintCStringTest, NonConst) { in TEST() argument432 TEST(PrintWideCStringTest, NonConst) { in TEST() argument
397 TEST(PrintCStringTest, NonConst) { in TEST() argument434 TEST(PrintWideCStringTest, NonConst) { in TEST() argument
401 TEST(PrintCStringTest, NonConst) { in TEST() argument436 TEST(PrintWideCStringTest, NonConst) { in TEST() argument