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
  • preprocessor
  • Preprocessor.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Support parsing defined operator generated by macro expansion · 261f5379
    Olli Etuaho authored Sep 18, 2015
    dEQP tests enforce that the defined operator should be parsed even when
    it is generated as a result of macro expansion, even though this is
    undefined according to the C++ preprocessor spec.
    
    Implement support for this by putting the parsing for the defined
    operator inside MacroExpander. The operator gets processed right after
    it is generated by macro expansion. Parsing the defined operator is
    toggled with a boolean according to the context where MacroExpander
    is used.
    
    BUG=angleproject:989
    TEST=angle_unittests,
         dEQP-GLES3.functional.shaders.preprocessor.* - 2 tests start passing:
         dEQP-GLES3.functional.shaders.preprocessor.conditional_inclusion.basic_2*
    
    Change-Id: I780e63bd4558253657d898685d62339017564a06
    Reviewed-on: https://chromium-review.googlesource.com/300970Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Tested-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
    261f5379
Preprocessor.cpp 2.63 KB
EditWeb IDE
×

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