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
  • InitOutputVariables_test.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Don't query names of empty symbols · bed35d76
    Olli Etuaho authored Dec 20, 2017
    This makes it possible to return a reference from TSymbol::name()
    instead of a pointer. This is safer since it completely avoids the
    possibility of a nullptr dereference. An assert is making sure that
    the function is not being called for empty symbols.
    
    BUG=angleproject:2267
    TEST=angle_unittests
    
    Change-Id: I44279f65989dbb828322843fc0216ba84d91dedf
    Reviewed-on: https://chromium-review.googlesource.com/836894Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    bed35d76
InitOutputVariables_test.cpp 15.2 KB
EditWeb IDE
×

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