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
  • libANGLE
  • Fence_unittest.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Enable [[nodiscard]] for gl::Error. · 71c88b31
    Jamie Madill authored Sep 14, 2017
    This forces all return values to be checked for gl::Error.
    Requires quite a bit of minor refactoring. I also added a macro to
    swallow an error without returning from a function.
    
    We could look at storing the errors in the Context at some point,
    since almost always when we're generating errors that we need to
    discard we have access to the Context as a parameter.
    
    BUG=angleproject:2150
    
    Change-Id: I457e48a30c002eda0993acbcd3180ba87bf169fb
    Reviewed-on: https://chromium-review.googlesource.com/665173
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
    71c88b31
Fence_unittest.cpp 4.22 KB
EditWeb IDE
×

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