diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-04-29 20:45:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-05-17 17:37:58 +0200 |
commit | 1148d6ad13b444c179aacdb693bd82e37d0ed32d (patch) | |
tree | fb681cad40c00163230b11b349282181a647d080 /solenv/vs/LibreOffice.ruleset | |
parent | 30d376fb7ded4c96c85ad1112a0e44b5929657c9 (diff) |
introduce SAL_RET_MAYBENULL
which for debug builds and MSVC uses _Ret_maybenull_ and -analyze to
enforce null checking
Change-Id: Id7f0ad854be7841819fdbdcd56c862d1a2df86c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166734
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'solenv/vs/LibreOffice.ruleset')
-rw-r--r-- | solenv/vs/LibreOffice.ruleset | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/solenv/vs/LibreOffice.ruleset b/solenv/vs/LibreOffice.ruleset new file mode 100644 index 000000000000..3c7fce9c0adc --- /dev/null +++ b/solenv/vs/LibreOffice.ruleset @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<RuleSet Name="LibreOffice Rule Set" Description=" " ToolsVersion="15.0"> + <Rules AnalyzerId="Microsoft.Analyzers.NativeCodeAnalysis" RuleNamespace="Microsoft.Rules.Native"> + <Rule Id="C6011" Action="Warning"/> + </Rules> +</RuleSet> |