diff options
| author | Alexey Panteleev <alpanteleev@nvidia.com> | 2022-05-17 15:05:44 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-17 15:05:44 -0700 |
| commit | d9fd0ff3f0fc7b775de1e05570f01798fbc8baa3 (patch) | |
| tree | 87943f11f924e3ae3713dc034312b925250ee5bb /source/slang/slang-compiler.h | |
| parent | 05c4c2679ae979cfcb61e4c2acdb432c34384ddb (diff) | |
Configuration for warnings (#2241)
* Added support for disabling specific warnings or turning them into errors.
* Added API entry points for adding diagnostic severity overrides and manipulating some sink flags.
Diffstat (limited to 'source/slang/slang-compiler.h')
| -rwxr-xr-x | source/slang/slang-compiler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/slang/slang-compiler.h b/source/slang/slang-compiler.h index a9a19d29c..39ee830d2 100755 --- a/source/slang/slang-compiler.h +++ b/source/slang/slang-compiler.h @@ -2539,6 +2539,11 @@ namespace Slang virtual SLANG_NO_THROW void SLANG_MCALL setTargetLineDirectiveMode( SlangInt targetIndex, SlangLineDirectiveMode mode) SLANG_OVERRIDE; + virtual SLANG_NO_THROW void SLANG_MCALL overrideDiagnosticSeverity( + SlangInt messageID, + SlangSeverity overrideSeverity) SLANG_OVERRIDE; + virtual SLANG_NO_THROW SlangDiagnosticFlags SLANG_MCALL getDiagnosticFlags() SLANG_OVERRIDE; + virtual SLANG_NO_THROW void SLANG_MCALL setDiagnosticFlags(SlangDiagnosticFlags flags) SLANG_OVERRIDE; EndToEndCompileRequest( Session* session); |
