/dports/lang/mawk/mawk-1.3.4-20190203/examples/ |
H A D | gdecl.awk | 19 function gobble(s, x) function 49 x = gobble("[* ]+") # get list of *** ... 56 if ( gobble("\\(") ) 67 if ( (x = gobble(id)) == "" ) return "" 75 if ( gobble( funct_mark ) ) x = x " function returning" 77 if ( t = gobble( array_mark ) ) 112 scope = gobble( "extern|static" ) 114 if ( type = gobble("(struct|union|enum) ") ) 115 type = type gobble(id) # get the tag 119 type = gobble("(un)?signed ") gobble( types ) [all …]
|
H A D | decl.awk | 26 function gobble(s, x) function 56 x = gobble("[* ]+") # get list of *** ... 63 if ( gobble("\(") ) 74 if ( (x = gobble(id)) == "" ) return "" 82 if ( gobble( funct_mark ) ) x = x " function returning" 84 if ( t = gobble( array_mark ) ) 119 scope = gobble( "extern|static" ) 121 if ( type = gobble("(struct|union|enum) ") ) 122 type = type gobble(id) # get the tag 126 type = gobble("(un)?signed ") gobble( types ) [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/build/clang-plugin/tests/ |
H A D | TestNonHeapClass.cpp | 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() [all …]
|
H A D | TestStackClass.cpp | 15 void gobble(void *) { } in gobble() function 23 gobble(&valid); in misuseStackClass() 24 gobble(¬Valid); in misuseStackClass() 25 gobble(&alsoValid[0]); in misuseStackClass() 27 …gobble(new Stack); // expected-error {{variable of type 'Stack' only valid on the stack}} expected… in misuseStackClass() 28 …gobble(new Stack[10]); // expected-error {{variable of type 'Stack' only valid on the stack}} expe… in misuseStackClass() 29 …gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseStackClass() 30 …gobble(len <= 5 ? &valid : new Stack); // expected-error {{variable of type 'Stack' only valid on … in misuseStackClass() 33 gobble(new (buffer) Stack); in misuseStackClass()
|
H A D | TestStaticLocalClass.cpp | 15 void gobble(void *) { } in gobble() function 23 gobble(¬Valid); in misuseStaticLocalClass() 24 gobble(&valid); in misuseStaticLocalClass() 25 gobble(&alsoValid[0]); in misuseStaticLocalClass() 27 …gobble(new StaticLocal); // expected-error {{variable of type 'StaticLocal' is only valid as a sta… in misuseStaticLocalClass() 28 …gobble(new StaticLocal[10]); // expected-error {{variable of type 'StaticLocal' is only valid as a… in misuseStaticLocalClass() 29 …gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' is only … in misuseStaticLocalClass() 30 …gobble(len <= 5 ? &valid : new StaticLocal); // expected-error {{variable of type 'StaticLocal' is… in misuseStaticLocalClass() 33 gobble(new (buffer) StaticLocal); in misuseStaticLocalClass()
|
H A D | TestGlobalClass.cpp | 15 void gobble(void *) { } in gobble() function 23 gobble(¬Valid); in misuseGlobalClass() 24 gobble(&valid); in misuseGlobalClass() 25 gobble(&alsoValid[0]); in misuseGlobalClass() 27 …gobble(new Global); // expected-error {{variable of type 'Global' only valid as global}} expected-… in misuseGlobalClass() 28 …gobble(new Global[10]); // expected-error {{variable of type 'Global' only valid as global}} expec… in misuseGlobalClass() 29 …gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseGlobalClass() 30 …gobble(len <= 5 ? &valid : new Global); // expected-error {{variable of type 'Global' only valid a… in misuseGlobalClass() 33 gobble(new (buffer) Global); in misuseGlobalClass()
|
H A D | TestHeapClass.cpp | 20 void gobble(void *) { } in gobble() function 30 gobble(&invalid); in misuseHeapClass() 31 gobble(&invalidStatic); in misuseHeapClass() 32 gobble(&alsoInvalid[0]); in misuseHeapClass() 39 gobble(new Heap); in misuseHeapClass() 40 gobble(new Heap[10]); in misuseHeapClass() 41 gobble(new TemplateClass<int>); in misuseHeapClass() 42 gobble(len <= 5 ? &invalid : new Heap); in misuseHeapClass() 45 gobble(new (buffer) Heap); in misuseHeapClass()
|
/dports/lang/spidermonkey78/firefox-78.9.0/build/clang-plugin/tests/ |
H A D | TestNonHeapClass.cpp | 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() [all …]
|
H A D | TestStackClass.cpp | 15 void gobble(void *) { } in gobble() function 23 gobble(&valid); in misuseStackClass() 24 gobble(¬Valid); in misuseStackClass() 25 gobble(&alsoValid[0]); in misuseStackClass() 27 …gobble(new Stack); // expected-error {{variable of type 'Stack' only valid on the stack}} expected… in misuseStackClass() 28 …gobble(new Stack[10]); // expected-error {{variable of type 'Stack' only valid on the stack}} expe… in misuseStackClass() 29 …gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseStackClass() 30 …gobble(len <= 5 ? &valid : new Stack); // expected-error {{variable of type 'Stack' only valid on … in misuseStackClass() 33 gobble(new (buffer) Stack); in misuseStackClass()
|
H A D | TestStaticLocalClass.cpp | 15 void gobble(void *) { } in gobble() function 23 gobble(¬Valid); in misuseStaticLocalClass() 24 gobble(&valid); in misuseStaticLocalClass() 25 gobble(&alsoValid[0]); in misuseStaticLocalClass() 27 …gobble(new StaticLocal); // expected-error {{variable of type 'StaticLocal' is only valid as a sta… in misuseStaticLocalClass() 28 …gobble(new StaticLocal[10]); // expected-error {{variable of type 'StaticLocal' is only valid as a… in misuseStaticLocalClass() 29 …gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' is only … in misuseStaticLocalClass() 30 …gobble(len <= 5 ? &valid : new StaticLocal); // expected-error {{variable of type 'StaticLocal' is… in misuseStaticLocalClass() 33 gobble(new (buffer) StaticLocal); in misuseStaticLocalClass()
|
H A D | TestGlobalClass.cpp | 15 void gobble(void *) { } in gobble() function 23 gobble(¬Valid); in misuseGlobalClass() 24 gobble(&valid); in misuseGlobalClass() 25 gobble(&alsoValid[0]); in misuseGlobalClass() 27 …gobble(new Global); // expected-error {{variable of type 'Global' only valid as global}} expected-… in misuseGlobalClass() 28 …gobble(new Global[10]); // expected-error {{variable of type 'Global' only valid as global}} expec… in misuseGlobalClass() 29 …gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseGlobalClass() 30 …gobble(len <= 5 ? &valid : new Global); // expected-error {{variable of type 'Global' only valid a… in misuseGlobalClass() 33 gobble(new (buffer) Global); in misuseGlobalClass()
|
/dports/www/firefox/firefox-99.0/build/clang-plugin/tests/ |
H A D | TestNonHeapClass.cpp | 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() [all …]
|
H A D | TestStackClass.cpp | 15 void gobble(void *) { } in gobble() function 23 gobble(&valid); in misuseStackClass() 24 gobble(¬Valid); in misuseStackClass() 25 gobble(&alsoValid[0]); in misuseStackClass() 27 …gobble(new Stack); // expected-error {{variable of type 'Stack' only valid on the stack}} expected… in misuseStackClass() 28 …gobble(new Stack[10]); // expected-error {{variable of type 'Stack' only valid on the stack}} expe… in misuseStackClass() 29 …gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseStackClass() 30 …gobble(len <= 5 ? &valid : new Stack); // expected-error {{variable of type 'Stack' only valid on … in misuseStackClass() 33 gobble(new (buffer) Stack); in misuseStackClass()
|
H A D | TestGlobalClass.cpp | 15 void gobble(void *) { } in gobble() function 23 gobble(¬Valid); in misuseGlobalClass() 24 gobble(&valid); in misuseGlobalClass() 25 gobble(&alsoValid[0]); in misuseGlobalClass() 27 …gobble(new Global); // expected-error {{variable of type 'Global' only valid as global}} expected-… in misuseGlobalClass() 28 …gobble(new Global[10]); // expected-error {{variable of type 'Global' only valid as global}} expec… in misuseGlobalClass() 29 …gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseGlobalClass() 30 …gobble(len <= 5 ? &valid : new Global); // expected-error {{variable of type 'Global' only valid a… in misuseGlobalClass() 33 gobble(new (buffer) Global); in misuseGlobalClass()
|
H A D | TestStaticLocalClass.cpp | 15 void gobble(void *) { } in gobble() function 23 gobble(¬Valid); in misuseStaticLocalClass() 24 gobble(&valid); in misuseStaticLocalClass() 25 gobble(&alsoValid[0]); in misuseStaticLocalClass() 27 …gobble(new StaticLocal); // expected-error {{variable of type 'StaticLocal' is only valid as a sta… in misuseStaticLocalClass() 28 …gobble(new StaticLocal[10]); // expected-error {{variable of type 'StaticLocal' is only valid as a… in misuseStaticLocalClass() 29 …gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' is only … in misuseStaticLocalClass() 30 …gobble(len <= 5 ? &valid : new StaticLocal); // expected-error {{variable of type 'StaticLocal' is… in misuseStaticLocalClass() 33 gobble(new (buffer) StaticLocal); in misuseStaticLocalClass()
|
/dports/mail/thunderbird/thunderbird-91.8.0/build/clang-plugin/tests/ |
H A D | TestNonHeapClass.cpp | 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() [all …]
|
H A D | TestStackClass.cpp | 15 void gobble(void *) { } in gobble() function 23 gobble(&valid); in misuseStackClass() 24 gobble(¬Valid); in misuseStackClass() 25 gobble(&alsoValid[0]); in misuseStackClass() 27 …gobble(new Stack); // expected-error {{variable of type 'Stack' only valid on the stack}} expected… in misuseStackClass() 28 …gobble(new Stack[10]); // expected-error {{variable of type 'Stack' only valid on the stack}} expe… in misuseStackClass() 29 …gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseStackClass() 30 …gobble(len <= 5 ? &valid : new Stack); // expected-error {{variable of type 'Stack' only valid on … in misuseStackClass() 33 gobble(new (buffer) Stack); in misuseStackClass()
|
H A D | TestGlobalClass.cpp | 15 void gobble(void *) { } in gobble() function 23 gobble(¬Valid); in misuseGlobalClass() 24 gobble(&valid); in misuseGlobalClass() 25 gobble(&alsoValid[0]); in misuseGlobalClass() 27 …gobble(new Global); // expected-error {{variable of type 'Global' only valid as global}} expected-… in misuseGlobalClass() 28 …gobble(new Global[10]); // expected-error {{variable of type 'Global' only valid as global}} expec… in misuseGlobalClass() 29 …gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseGlobalClass() 30 …gobble(len <= 5 ? &valid : new Global); // expected-error {{variable of type 'Global' only valid a… in misuseGlobalClass() 33 gobble(new (buffer) Global); in misuseGlobalClass()
|
H A D | TestStaticLocalClass.cpp | 15 void gobble(void *) { } in gobble() function 23 gobble(¬Valid); in misuseStaticLocalClass() 24 gobble(&valid); in misuseStaticLocalClass() 25 gobble(&alsoValid[0]); in misuseStaticLocalClass() 27 …gobble(new StaticLocal); // expected-error {{variable of type 'StaticLocal' is only valid as a sta… in misuseStaticLocalClass() 28 …gobble(new StaticLocal[10]); // expected-error {{variable of type 'StaticLocal' is only valid as a… in misuseStaticLocalClass() 29 …gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' is only … in misuseStaticLocalClass() 30 …gobble(len <= 5 ? &valid : new StaticLocal); // expected-error {{variable of type 'StaticLocal' is… in misuseStaticLocalClass() 33 gobble(new (buffer) StaticLocal); in misuseStaticLocalClass()
|
/dports/lang/spidermonkey60/firefox-60.9.0/build/clang-plugin/tests/ |
H A D | TestNonHeapClass.cpp | 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() [all …]
|
H A D | TestStackClass.cpp | 15 void gobble(void *) { } in gobble() function 23 gobble(&valid); in misuseStackClass() 24 gobble(¬Valid); in misuseStackClass() 25 gobble(&alsoValid[0]); in misuseStackClass() 27 …gobble(new Stack); // expected-error {{variable of type 'Stack' only valid on the stack}} expected… in misuseStackClass() 28 …gobble(new Stack[10]); // expected-error {{variable of type 'Stack' only valid on the stack}} expe… in misuseStackClass() 29 …gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseStackClass() 30 …gobble(len <= 5 ? &valid : new Stack); // expected-error {{variable of type 'Stack' only valid on … in misuseStackClass() 33 gobble(new (buffer) Stack); in misuseStackClass()
|
H A D | TestGlobalClass.cpp | 15 void gobble(void *) { } in gobble() function 23 gobble(¬Valid); in misuseGlobalClass() 24 gobble(&valid); in misuseGlobalClass() 25 gobble(&alsoValid[0]); in misuseGlobalClass() 27 …gobble(new Global); // expected-error {{variable of type 'Global' only valid as global}} expected-… in misuseGlobalClass() 28 …gobble(new Global[10]); // expected-error {{variable of type 'Global' only valid as global}} expec… in misuseGlobalClass() 29 …gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseGlobalClass() 30 …gobble(len <= 5 ? &valid : new Global); // expected-error {{variable of type 'Global' only valid a… in misuseGlobalClass() 33 gobble(new (buffer) Global); in misuseGlobalClass()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/build/clang-plugin/tests/ |
H A D | TestNonHeapClass.cpp | 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() [all …]
|
H A D | TestStackClass.cpp | 15 void gobble(void *) { } in gobble() function 23 gobble(&valid); in misuseStackClass() 24 gobble(¬Valid); in misuseStackClass() 25 gobble(&alsoValid[0]); in misuseStackClass() 27 …gobble(new Stack); // expected-error {{variable of type 'Stack' only valid on the stack}} expected… in misuseStackClass() 28 …gobble(new Stack[10]); // expected-error {{variable of type 'Stack' only valid on the stack}} expe… in misuseStackClass() 29 …gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseStackClass() 30 …gobble(len <= 5 ? &valid : new Stack); // expected-error {{variable of type 'Stack' only valid on … in misuseStackClass() 33 gobble(new (buffer) Stack); in misuseStackClass()
|
H A D | TestGlobalClass.cpp | 15 void gobble(void *) { } in gobble() function 23 gobble(¬Valid); in misuseGlobalClass() 24 gobble(&valid); in misuseGlobalClass() 25 gobble(&alsoValid[0]); in misuseGlobalClass() 27 …gobble(new Global); // expected-error {{variable of type 'Global' only valid as global}} expected-… in misuseGlobalClass() 28 …gobble(new Global[10]); // expected-error {{variable of type 'Global' only valid as global}} expec… in misuseGlobalClass() 29 …gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseGlobalClass() 30 …gobble(len <= 5 ? &valid : new Global); // expected-error {{variable of type 'Global' only valid a… in misuseGlobalClass() 33 gobble(new (buffer) Global); in misuseGlobalClass()
|