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
  • FoldExpressions.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Fold ternary and comma ops only after parsing is done · 765924f0
    Olli Etuaho authored Jan 04, 2018
    In case folding a ternary op or a comma op would change the qualifier
    of the expression, the folding is deferred to a separate traversal
    step.
    
    After this there are no more cases where the type of a TIntermSymbol
    node needs to differ from the type of the variable it is referring to.
    There are still some cases where some parts of TIntermSymbol type are
    changed while keeping the TVariable type the same though, like when
    assigning array size to gl_PerVertex nodes or sanitizing qualifiers of
    struct declarations.
    
    BUG=angleproject:2267
    TEST=angle_unittests, angle_end2end_tests
    
    Change-Id: I1501c8d361f5f765f43ca810d1b7248d9e2c5986
    Reviewed-on: https://chromium-review.googlesource.com/850672
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    765924f0
FoldExpressions.cpp 3.14 KB
EditWeb IDE
×

Replace FoldExpressions.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.