Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Apr 28, 2022
1 parent 5df8c32 commit b6cd9ea
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Checks: "bugprone-exception-escape"
WarningsAsErrors: '*'
HeaderFilterRegex: '.*'
InheritParentConfig: false
2 changes: 2 additions & 0 deletions config/asan.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ include $(config_dir)rel.mk

this_cxxflags += -fsanitize=address
this_ldflags += -fsanitize=address

this_lint_cmd = $(prorab_lint_cmd_clang_tidy)
8 changes: 7 additions & 1 deletion debian/control.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@ Source: libr4
Section: libs
Priority: extra
Maintainer: Ivan Gagis <[email protected]>
Build-Depends: debhelper (>= 9), prorab, prorab-extra, myci, doxygen,
Build-Depends:
debhelper (>= 9),
prorab,
prorab-extra,
myci,
doxygen,
clang-tidy,
libutki-dev,
libtst-dev
Build-Depends-Indep: doxygen
Expand Down
2 changes: 1 addition & 1 deletion msvs_solution/r4/r4.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
<ProjectGuid>{90344592-5BE0-43E3-BD74-46E969441F7E}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>r4</RootNamespace>
<WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.19041.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='v140_Debug|Win32'" Label="Configuration">
Expand Down
2 changes: 1 addition & 1 deletion msvs_solution/unit_tests/unit_tests.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<Keyword>Win32Proj</Keyword>
<ProjectGuid>{e5e4ac7f-e764-4140-8a0b-8ce45bef74ad}</ProjectGuid>
<RootNamespace>unittests</RootNamespace>
<WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.19041.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='v142_Debug_MD|Win32'" Label="Configuration">
Expand Down

0 comments on commit b6cd9ea

Please sign in to comment.