Skip to content

nzslc: Add support for struct reflection#94

Open
SirLynix wants to merge 2 commits into
mainfrom
reflection
Open

nzslc: Add support for struct reflection#94
SirLynix wants to merge 2 commits into
mainfrom
reflection

nzslc: Reflection first iteration

6b32e19
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 26, 2026 in 3m 18s

Annotations

Check warning on line 715 in src/ShaderCompiler/Compiler.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the transparent equality "std::equal_to<>" and a custom transparent heterogeneous hasher with this associative string container.

See more on https://sonarcloud.io/project/issues?id=NazaraEngine_ShaderLang&issues=AZ5lyCivmQT7csWqFkn4&open=AZ5lyCivmQT7csWqFkn4&pullRequest=94

Check failure on line 701 in src/ShaderCompiler/Compiler.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 28 to the 25 allowed.

See more on https://sonarcloud.io/project/issues?id=NazaraEngine_ShaderLang&issues=AZ5lyIDENZwKksNFc5Yu&open=AZ5lyIDENZwKksNFc5Yu&pullRequest=94

Check warning on line 785 in src/ShaderCompiler/Compiler.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=NazaraEngine_ShaderLang&issues=AZ5lyIDENZwKksNFc5Yt&open=AZ5lyIDENZwKksNFc5Yt&pullRequest=94

Check warning on line 846 in src/ShaderCompiler/Compiler.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "line" member function of "std::source_location" instead of "__LINE__" macro.

See more on https://sonarcloud.io/project/issues?id=NazaraEngine_ShaderLang&issues=AZ5lyCivmQT7csWqFkn7&open=AZ5lyCivmQT7csWqFkn7&pullRequest=94

Check warning on line 845 in src/ShaderCompiler/Compiler.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "line" member function of "std::source_location" instead of "__LINE__" macro.

See more on https://sonarcloud.io/project/issues?id=NazaraEngine_ShaderLang&issues=AZ5lyCivmQT7csWqFkn6&open=AZ5lyCivmQT7csWqFkn6&pullRequest=94

Check warning on line 208 in src/ShaderCompiler/Compiler.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "line" member function of "std::source_location" instead of "__LINE__" macro.

See more on https://sonarcloud.io/project/issues?id=NazaraEngine_ShaderLang&issues=AZ5lyCivmQT7csWqFkn3&open=AZ5lyCivmQT7csWqFkn3&pullRequest=94

Check warning on line 720 in src/ShaderCompiler/Compiler.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This lambda has 53 lines, which is greater than the 20 lines authorized. Split it into several lambdas or functions, or make it a named function.

See more on https://sonarcloud.io/project/issues?id=NazaraEngine_ShaderLang&issues=AZ5lyCivmQT7csWqFkn5&open=AZ5lyCivmQT7csWqFkn5&pullRequest=94

Check warning on line 792 in src/ShaderCompiler/Compiler.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define and throw a dedicated exception instead of using a generic one.

See more on https://sonarcloud.io/project/issues?id=NazaraEngine_ShaderLang&issues=AZ5lyIDENZwKksNFc5Yv&open=AZ5lyIDENZwKksNFc5Yv&pullRequest=94