Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
G
glslang
  • 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
  • glslang
  • Repository

Switch branch/tag
  • glslang
  • glslang
  • MachineIndependent
  • RemoveTree.h
Find file
BlameHistoryPermalink
  • Aras Pranckevicius's avatar
    [lumped builds] Add include guards (#pragma once) to header files that did not have any. · 23d3c712
    Aras Pranckevicius authored May 10, 2017
    The codebase seems to use both “#pragma once“ approach, and “#ifndef / #define” approach,
    so I picked pragma once as that one is less typing & less brittle.
    
    When glslang is built with some other build system and lumped/unity builds are used,
    without the include guards some headers would get included multiple times, leading to duplicate
    declaration errors.
    23d3c712
RemoveTree.h 1.66 KB
EditWeb IDE
×

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