Skip to content

Commit

Permalink
changes for storage.type.built-in
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-hykin committed May 28, 2019
1 parent 7ea789d commit 1b2f856
Show file tree
Hide file tree
Showing 56 changed files with 204 additions and 4 deletions.
4 changes: 4 additions & 0 deletions test/specs/issues/003.cpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: foo
scopesBegin:
- meta.head.function.definition
Expand All @@ -38,6 +39,7 @@
- source: int
scopes:
- storage.type.primitive
- storage.type.built-in.primitive
- source: b
scopes:
- variable.parameter
Expand Down Expand Up @@ -94,6 +96,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: foo
scopesBegin:
- meta.head.function.definition
Expand All @@ -115,6 +118,7 @@
- source: int
scopes:
- storage.type.primitive
- storage.type.built-in.primitive
- source: b
scopes:
- variable.parameter
Expand Down
1 change: 1 addition & 0 deletions test/specs/issues/005.cpp.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
- source: int
scopes:
- storage.type.primitive
- storage.type.built-in.primitive
- source: ' foo '
- source: =
scopes:
Expand Down
1 change: 1 addition & 0 deletions test/specs/issues/006.cpp.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
- source: auto
scopes:
- storage.type.primitive
- storage.type.built-in.primitive
- source: ' bar '
- source: =
scopes:
Expand Down
2 changes: 2 additions & 0 deletions test/specs/issues/011.cpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: aaaa
scopesBegin:
- meta.head.function.definition
Expand All @@ -20,6 +21,7 @@
- source: char
scopes:
- storage.type.primitive
- storage.type.built-in.primitive
- source: '*'
scopes:
- keyword.operator
Expand Down
8 changes: 8 additions & 0 deletions test/specs/issues/012.cpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: deleteFoo
scopesBegin:
- meta.head.function.definition
Expand All @@ -27,6 +28,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: namespaceFoo
scopesBegin:
- meta.head.function.definition
Expand All @@ -50,6 +52,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: override
scopesBegin:
- meta.head.function.definition
Expand All @@ -73,6 +76,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: final
scopesBegin:
- meta.head.function.definition
Expand All @@ -96,6 +100,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: audit
scopesBegin:
- meta.head.function.definition
Expand All @@ -119,6 +124,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: axiom
scopesBegin:
- meta.head.function.definition
Expand All @@ -142,6 +148,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: transaction_safe
scopesBegin:
- meta.head.function.definition
Expand All @@ -165,6 +172,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: transaction_safe_dynamic
scopesBegin:
- meta.head.function.definition
Expand Down
3 changes: 3 additions & 0 deletions test/specs/issues/016.cpp.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
- source: void
scopes:
- storage.type.primitive
- storage.type.built-in.primitive
- source: ' operator '
- source: '"'
scopesBegin:
Expand All @@ -21,9 +22,11 @@
- source: long
scopesBegin:
- storage.type.primitive
- storage.type.built-in.primitive
- source: double
scopesEnd:
- storage.type.primitive
- storage.type.built-in.primitive
- source: )
scopes:
- punctuation.section.arguments.end.bracket.round.function.call
Expand Down
4 changes: 4 additions & 0 deletions test/specs/issues/017.cpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: LineReader
scopesBegin:
- meta.head.function.definition
Expand All @@ -110,6 +111,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: Line_Reader
scopesBegin:
- meta.head.function.definition
Expand All @@ -133,6 +135,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: Line\u00b7Reader
scopesBegin:
- meta.head.function.definition
Expand All @@ -156,6 +159,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: Line\U0002070EReader
scopesBegin:
- meta.head.function.definition
Expand Down
5 changes: 5 additions & 0 deletions test/specs/issues/018.cpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: function
scopesBegin:
- meta.head.function.definition
Expand Down Expand Up @@ -33,6 +34,7 @@
scopes:
- meta.arguments.operator.typeid
- storage.type.primitive
- storage.type.built-in.primitive
- source: )
scopes:
- punctuation.section.arguments.end.bracket.round.operator.typeid
Expand All @@ -47,6 +49,7 @@
scopes:
- meta.arguments.operator.typeid
- storage.type.primitive
- storage.type.built-in.primitive
- source: )
scopes:
- punctuation.section.arguments.end.bracket.round.operator.typeid
Expand Down Expand Up @@ -75,6 +78,7 @@
scopes:
- meta.arguments.operator.sizeof
- storage.type.primitive
- storage.type.built-in.primitive
- source: )
scopes:
- punctuation.section.arguments.end.bracket.round.operator.sizeof
Expand All @@ -90,6 +94,7 @@
scopes:
- meta.arguments.decltype
- storage.type.primitive
- storage.type.built-in.primitive
- source: )
scopes:
- punctuation.section.arguments.end.bracket.round.decltype
Expand Down
9 changes: 9 additions & 0 deletions test/specs/issues/020.cpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- source: int
scopes:
- storage.type.primitive
- storage.type.built-in.primitive
- source: '>'
scopes:
- keyword.operator.comparison
Expand Down Expand Up @@ -42,6 +43,7 @@
- source: int
scopes:
- storage.type.primitive
- storage.type.built-in.primitive
- source: '>'
scopes:
- keyword.operator.comparison
Expand Down Expand Up @@ -76,6 +78,7 @@
- source: int
scopes:
- storage.type.primitive
- storage.type.built-in.primitive
- source: '>'
scopes:
- keyword.operator.comparison
Expand Down Expand Up @@ -110,6 +113,7 @@
- source: int
scopes:
- storage.type.primitive
- storage.type.built-in.primitive
- source: '>'
scopes:
- keyword.operator.comparison
Expand Down Expand Up @@ -140,6 +144,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: foo
scopesBegin:
- meta.head.function.definition
Expand Down Expand Up @@ -168,6 +173,7 @@
- source: int
scopes:
- storage.type.primitive
- storage.type.built-in.primitive
- source: '>'
scopes:
- keyword.operator.comparison
Expand Down Expand Up @@ -202,6 +208,7 @@
- source: int
scopes:
- storage.type.primitive
- storage.type.built-in.primitive
- source: '>'
scopes:
- keyword.operator.comparison
Expand Down Expand Up @@ -236,6 +243,7 @@
- source: int
scopes:
- storage.type.primitive
- storage.type.built-in.primitive
- source: '>'
scopes:
- keyword.operator.comparison
Expand Down Expand Up @@ -270,6 +278,7 @@
- source: int
scopes:
- storage.type.primitive
- storage.type.built-in.primitive
- source: '>'
scopes:
- keyword.operator.comparison
Expand Down
1 change: 1 addition & 0 deletions test/specs/issues/022.cpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: test
scopesBegin:
- meta.head.function.definition
Expand Down
5 changes: 5 additions & 0 deletions test/specs/issues/025.cpp.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
- source: bool
scopes:
- storage.type.primitive
- storage.type.built-in.primitive
- source: FillStats
scopes:
- entity.name.function.call
Expand All @@ -17,6 +18,7 @@
- source: bool
scopes:
- storage.type.primitive
- storage.type.built-in.primitive
- source: FillStats
scopes:
- entity.name.function.call
Expand All @@ -33,6 +35,7 @@
- source: bool
scopes:
- storage.type.primitive
- storage.type.built-in.primitive
- source: FillStats
scopes:
- entity.name.function.call
Expand All @@ -49,6 +52,7 @@
- source: bool
scopes:
- storage.type.primitive
- storage.type.built-in.primitive
- source: FillStats
scopes:
- entity.name.function.call
Expand All @@ -64,6 +68,7 @@
- source: bool
scopes:
- storage.type.primitive
- storage.type.built-in.primitive
- source: FillStats
- source: (
scopesBegin:
Expand Down
6 changes: 6 additions & 0 deletions test/specs/issues/026.cpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: (
scopes:
- punctuation.section.parens.begin.bracket.round.function.pointer
Expand All @@ -43,6 +44,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: '*'
scopes:
- storage.modifier.pointer
Expand Down Expand Up @@ -71,6 +73,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: '&'
scopes:
- storage.modifier.reference
Expand Down Expand Up @@ -105,6 +108,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: '**'
scopes:
- storage.modifier.pointer
Expand All @@ -129,6 +133,7 @@
- source: int
scopes:
- storage.type.primitive
- storage.type.built-in.primitive
- source: a
scopes:
- variable.parameter
Expand Down Expand Up @@ -168,6 +173,7 @@
scopes:
- meta.qualified_type
- storage.type.primitive
- storage.type.built-in.primitive
- source: (
scopes:
- punctuation.section.parens.begin.bracket.round.function.pointer
Expand Down
Loading

0 comments on commit 1b2f856

Please sign in to comment.