Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorCorentin Wallez <cwallez@google.com>2021-03-09 16:16:43 +0300
committerGitHub <noreply@github.com>2021-03-09 16:16:43 +0300
commit4a59fd47634f51dce424364f81c05d1700f98121 (patch)
treed31cc9b6c425d612dd81030b043fdd81451bbc9b /utils
parentc6da5e343c60c09b72c73b4988e53093f53c2670 (diff)
Fix -Wextra-semi-stmt -Wsuggest-destructor-override -Wdeprecated-copy-dtor (#4164)
* Fix -Wextra-semi-stmt * Fix -Wsuggest-destructor-override * Fix -Wdeprecated-copy-dtor
Diffstat (limited to 'utils')
-rwxr-xr-xutils/generate_grammar_tables.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/generate_grammar_tables.py b/utils/generate_grammar_tables.py
index 2a6773369..c4ed180ad 100755
--- a/utils/generate_grammar_tables.py
+++ b/utils/generate_grammar_tables.py
@@ -601,7 +601,7 @@ def generate_extension_to_string_mapping(extensions):
' return "{extension}";\n'
function += ''.join([template.format(extension=extension)
for extension in extensions])
- function += ' };\n\n return "";\n}'
+ function += ' }\n\n return "";\n}'
return function
@@ -647,7 +647,7 @@ def generate_capability_to_string_mapping(operand_kinds):
function += ' case SpvCapabilityMax:\n' \
' assert(0 && "Attempting to convert SpvCapabilityMax to string");\n' \
' return "";\n'
- function += ' };\n\n return "";\n}'
+ function += ' }\n\n return "";\n}'
return function