Repository navigation
Add default virtual destructors for virtual classes - #218
Merged
David Peixotto (dmpots) merged 1 commit intoApr 12, 2017
Merged
Conversation
This fixes compiler warnings generated by -Wnon-virtual-dtor.
|
@antiagainst, It will cover your contributions to all Microsoft-managed open source projects. |
David Peixotto (dmpots)
approved these changes
Apr 12, 2017
Gregory Roth (pow2clk)
added a commit
to pow2clk/DirectXShaderCompiler
that referenced
this pull request
May 28, 2018
Terminating classes may create a muscle memory for typing a semicolon after a left-justified closed brace. Whatever the reason to GCC's chagrine there were many functions ended with unnecessary semicolons. Each one caused a warning. This removes them. Fixes 285 GCC warnings Contributes to google#206
Gregory Roth (pow2clk)
added a commit
to pow2clk/DirectXShaderCompiler
that referenced
this pull request
May 30, 2018
Terminating classes may create a muscle memory for typing a semicolon after a left-justified closed brace. Whatever the reason to GCC's chagrine there were many functions ended with unnecessary semicolons. Each one caused a warning. This removes them. Fixes 285 GCC warnings Contributes to google#206
Damyan Pepper (damyanp)
pushed a commit
to damyanp/DirectXShaderCompiler
that referenced
this pull request
Mar 22, 2025
This specifies more of the basic language behaviors including declarations and definitions. HLSL has some small implicit differences from C & C++ for declarations and definitions. Notably the handling of global variable declarations, which are implcitly const and external unless `static` is specified. * Add cbuffer and tbuffer to examples cbuffer and tbuffer are odd. They declare global variables that are read from a specific cbv or srv and allow defining layouts of the buffers. The name of the buffer is exposed in reflection data, but not declared as a name within the translation unit. The names of variables within the buffers are declared as global names.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fixes compiler warnings generated by -Wnon-virtual-dtor.
cc David Neto (@dneto0) Ehsan (@ehsannas)