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
  • tests
  • compiler_tests
  • PruneEmptyCases_test.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Clean up switch/case pruning code · 4121799f
    Olli Etuaho authored Mar 15, 2018
    There was some duplicate switch/case pruning in the code in
    PruneEmptyCases and RemoveNoOpStatementsFromTheEndOfSwitchStatements.
    Combine the functionality of both AST transformations into
    PruneEmptyCases and remove the other transformation.
    
    The tests are improved to better cover the full functionality.
    
    BUG=angleproject:2402
    TEST=angle_unittests, angle_end2end_tests --gtest_filter=*Switch*
    
    Change-Id: Ib74b6b9b455769ea15650e9653a9c53635342c49
    Reviewed-on: https://chromium-review.googlesource.com/964081Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    4121799f
PruneEmptyCases_test.cpp 2.8 KB
EditWeb IDE
×

Replace PruneEmptyCases_test.cpp

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.