1. 14 Dec, 2017 1 commit
    • Classify TSymbols using an enum · 9d4d7f06
      Olli Etuaho authored
      Symbols can be either built-ins, user-defined, nameless, or for
      ANGLE's internal use. In addition we currently use TFunction symbols
      that are not yet resolved - they might later resolve to either a
      built-in or a user-defined function. Record this information in each
      TSymbol so that TSymbol contains sufficient information for deciding
      how to format symbol names in output.
      
      The goal is to eventually replace current uses of TName with pointers
      to different TSymbol objects. So far only built-ins and user-defined
      symbols have associated TSymbol objects, but that will be expanded to
      cover ANGLE's internal symbols as well.
      
      BUG=angleproject:2267
      TEST=angle_unittests
      
      Change-Id: I927ce023fe257cc236da82c127700f3bd72bfe96
      Reviewed-on: https://chromium-review.googlesource.com/816952
      Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
      Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
  2. 13 Dec, 2017 11 commits
  3. 12 Dec, 2017 6 commits
  4. 11 Dec, 2017 1 commit
  5. 09 Dec, 2017 1 commit
  6. 07 Dec, 2017 2 commits
  7. 06 Dec, 2017 4 commits
  8. 05 Dec, 2017 6 commits
  9. 04 Dec, 2017 5 commits
  10. 02 Dec, 2017 1 commit
    • Simplify parsing struct field declarators · d5f44c98
      Olli Etuaho authored
      This removes the dummy type that was attached to struct declarators
      while parsing. This makes TParseContext::addStructDeclaratorList in
      particular simpler to understand.
      
      The new TDeclarator data type is the parsed representation of the
      struct_declarator grammar rule. It is completely immutable. The name
      and location stored in TField can also be qualified as constant now.
      
      BUG=angleproject:2267
      TEST=angle_unittests
      
      Change-Id: I2834f87fc0eee0bdb7673ef495a55fb463023c55
      Reviewed-on: https://chromium-review.googlesource.com/797033
      Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
  11. 01 Dec, 2017 2 commits