-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
all: Fixup some new warnings/tidy checks
- Loading branch information
1 parent
c3427db
commit 5a3e412
Showing
13 changed files
with
125 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#ifndef EZTEST_D_EZTEST_D_EZTEST_ALGO_H_ | ||
#define EZTEST_D_EZTEST_D_EZTEST_ALGO_H_ | ||
|
||
#include "eztest-lang.h" | ||
|
||
#if EZTEST_CXX_LANG_ | ||
/* NOLINTBEGIN(llvmlibc-restrict-system-libc-headers) */ | ||
# include <algorithm> | ||
/* NOLINTEND(llvmlibc-restrict-system-libc-headers) */ | ||
# define EZTEST_MIN_(eztest_lhs, eztest_rhs) \ | ||
EZTEST_STD_NS_ min(eztest_lhs, eztest_rhs) | ||
#else | ||
# define EZTEST_MIN_(eztest_lhs, eztest_rhs) \ | ||
((eztest_lhs) < (eztest_rhs) ? (eztest_lhs) : (eztest_rhs)) | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.