Lines Matching full:consume

4 void consume(const char* c) {}  in consume()  function
5 void consume(const unsigned char* c) {} in consume() function
6 void consume(const wchar_t* c) {} in consume() function
31consume("foo" + 5); // expected-warning {{adding 'int' to a string does not append to the string}… in f()
32consume("foo" + index); // expected-warning {{adding 'int' to a string does not append to the str… in f()
33consume("foo" + kMyEnum); // expected-warning {{adding 'MyEnum' to a string does not append to th… in f()
35consume(5 + "foo"); // expected-warning {{adding 'int' to a string does not append to the string}… in f()
36consume(index + "foo"); // expected-warning {{adding 'int' to a string does not append to the str… in f()
37consume(kMyEnum + "foo"); // expected-warning {{adding 'MyEnum' to a string does not append to th… in f()
43consume(L"foo" + 5); // expected-warning {{adding 'int' to a string does not append to the string… in f()
46 consume(&("foo"[3])); in f()
47 consume(&("foo"[index])); in f()
48 consume(&("foo"[kMyEnum])); in f()
49 consume("foo" + kMySmallEnum); in f()
50 consume(kMySmallEnum + "foo"); in f()
52 consume(L"foo" + 2); in f()
54 consume("foo" + 3); // Points at the \0 in f()
55 consume("foo" + 4); // Points 1 past the \0, which is legal too. in f()
56 consume("\pfoo" + 4); // Pascal strings don't have a trailing \0, but they in f()
59 consume("foo" + kMyOperatorOverloadedEnum); in f()
60 consume(kMyOperatorOverloadedEnum + "foo"); in f()
64 consume(A B + sizeof(A) - 1); in f()