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
  • ConstantUnion.h
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Remove TIntermediate::addConstantUnion · 56229f1b
    Olli Etuaho authored Jul 10, 2017
    This includes asserts in TConstantUnion to reveal incorrect usage of
    union - reading a different field of an union that has last been set
    is undefined behavior in C++.
    
    Existing issues with accessing incorrect fields of constant unions
    are fixed.
    
    BUG=angleproject:1490
    TEST=angle_unittests
    
    Change-Id: Idd6b7a871d73e2928f117a9348c92043612fab82
    56229f1b
ConstantUnion.h 3.86 KB
EditWeb IDE
×

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