Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • compiler
  • translator
  • IntermNode.h
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Prune no-op statements with a single traverser · 87c35883
    Olli Etuaho authored Oct 19, 2017
    We put pruning literal statements and pruning empty declarations in
    the same traverser, as some of the required logic is the same. This
    pruning of no-ops is always done as one of the first processing steps
    after parsing, so further processing of the AST is simpler.
    
    Since we now prune pure literals before removing no-op cases from the
    end of switch statements, we also don't need any sort of special
    handling for switch statements in pruning pure literals.
    
    BUG=angleproject:2181
    TEST=angle_unittests
    
    Change-Id: I2d86efaeb80baab63ac3cc803f3fd9e7ec02908a
    Reviewed-on: https://chromium-review.googlesource.com/727803Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    87c35883
IntermNode.h 30.5 KB
EditWeb IDE
×

Replace IntermNode.h

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.