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
  • glslang_tab.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Remove extraInfo parameter from compiler diagnostic functions · 4de340ac
    Olli Etuaho authored Dec 16, 2016
    This makes error messages more consistent. It was not clear what was
    supposed to go to the extraInfo parameter, and previously it was
    mostly being misused, resulting in poorly formatted error messages.
    Sometimes the order of parameters to the diagnostic functions like
    error() and warning() was wrong altogether. The diagnostics API is
    simpler when there's only the "reason" and "token" parameters that
    have clear meaning and that are separated by consistent punctuation
    in the output.
    
    Fixes error messages like
    
    "redifinition interface block member"
    
    to be grammatically reasonable like the rest of the error messages. For
    other error messages, punctuation is added to make them clearer. Example:
    
    "invalid layout qualifier location requires an argument"
    
    is changed to
    
    "invalid layout qualifier: location requires an argument".
    
    Extra spaces are also removed from the beginning of error messages.
    
    BUG=angleproject:1670
    BUG=angleproject:911
    TEST=angle_unittests
    
    Change-Id: Id5fb1a1f2892fad2b796aaef47ffb07e9d79759c
    Reviewed-on: https://chromium-review.googlesource.com/420789Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    4de340ac
glslang_tab.cpp 167 KB
EditWeb IDE
×

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