-
Notifications
You must be signed in to change notification settings - Fork 14.9k
[clang-tidy] add ctime
and localtime
to clang-tidy
#110366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
zimirza
wants to merge
60
commits into
llvm:main
Choose a base branch
from
zimirza:add_time_to_clang_tidy
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 56 commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
79d6622
[clang-tidy] add `ctime` and `localtime` to `clang-tidy`
f90a091
[clang-tidy] add times to clang-tidy
d5d985a
[clang-tidy] add `ctime` and `localtime` to `clang-tidy`
3290834
[clang-tidy] add `ctime` and `localtime` to `clang-tidy`
cc3fa57
undo symbols, since these should be automatically generated
d372eaf
moved release notes for `ctime` and `localtime`
9eeca77
updated release notes for `ctime` and `localtime`
1d2e5ad
added `ctime_r` and `localtime_r` to documentation
668bcf7
updated release notes for `ctime` and `localtime`
2c2e3db
fix: release notes for `ctime` and `localtime`
bdf5f2e
release notes should be in alphabetical order
5600556
updated release notes
b33e2c9
fix: function for unsafe functions check
8afbbc4
add `ctime` and `localtime` to standard library checks
f8c70be
added `ctime` and `localtime` to bounds checking checks
da37620
added ctime and localtime to functions list
a120c01
format code with clang-format
e491609
fix: tests
8dada6d
fix: tests
bf8dd0c
fix: tests for `ctime`
dfad2fc
fix: message for localtime
c6b30f1
fix: tests for ctime and localtime
638e6ef
add ctime and localtime safe functions
7999af6
fix: localtime_r argument
d389e43
use `_r` functions, since `_s` functions are not implemented
8bbe896
safe functions should be used
1e7e3ba
use safe functions
244879c
fix: localtime argument
815a472
temporarily use `_r` functions
1d72f2b
use `_s` functions and add functions for `ctime` and `localtime`
0284ec7
fix: function names
59974db
fix: tests for clang-tidy
780fae6
temporarily remove localtime
412654e
add tests for ctime and localtime
1475515
update tests for ctime and localtime
fdf4245
format code with clang-format
45074ca
fix: document name
95342b9
fix: path for unsafe-functions
92cda2b
fix path
460ccf9
fix: release notes for clang-tidy
b70a529
fix: path for unsafe functions in release notes
b4d5208
fix path for unsafe functions in release notes
18e882e
fix: static analyzer for ctime_s
f1540c5
fix argument number
f28b90a
format code with clang-format
9d5fa73
include header file for size_t
2513ed9
fix clang static analyzer and functions checker
36f2968
combine `bugprone-unsafe-functions` release notes
zimirza 7685ec0
fix: rebase from main branch
zimirza 38a2135
fix: rebase from main branch
zimirza 23d21cd
fix: rebase from main branch
zimirza 428c299
update release notes for clang-tidy
zimirza 4e66050
update release notes for clang-tidy
zimirza 3326ab2
combine `bugprone-unsafe-functions` release notes
zimirza 2aabbd7
fix: release notes for unsafe functions
zimirza cf1d22d
revert: identifier for bugprone-unsafe-functions
zimirza 8cd9bd7
remove duplicate entry in release notes
zimirza 6d61cac
removed ctime_s and localtime_s for this pull request. these will be
zimirza e27e233
format code with clang-format
zimirza 26b2ab3
remove stddef.h
zimirza File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.