Lines Matching refs:gobble
16 void gobble(void *) { } in gobble() function
24 gobble(&valid); in misuseNonHeapClass()
25 gobble(&validStatic); in misuseNonHeapClass()
26 gobble(&alsoValid[0]); in misuseNonHeapClass()
28 …gobble(new NonHeap); // expected-error {{variable of type 'NonHeap' is not valid on the heap}} exp… in misuseNonHeapClass()
29 …gobble(new NonHeap[10]); // expected-error {{variable of type 'NonHeap' is not valid on the heap}}… in misuseNonHeapClass()
30 …gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' is not v… in misuseNonHeapClass()
31 …gobble(len <= 5 ? &valid : new NonHeap); // expected-error {{variable of type 'NonHeap' is not val… in misuseNonHeapClass()
34 gobble(new (buffer) NonHeap); in misuseNonHeapClass()
51 …gobble(new BadInherit); // expected-error {{variable of type 'BadInherit' is not valid on the heap… in useStuffWrongly()
52 …gobble(new RandomClass); // expected-error {{variable of type 'RandomClass' is not valid on the he… in useStuffWrongly()