-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Crank up static analysis audit #2607
Commits on Aug 29, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1989eb9 - Browse repository at this point
Copy the full SHA 1989eb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65dec36 - Browse repository at this point
Copy the full SHA 65dec36View commit details -
[Complex] C26446, Use .at instead of array indices - Reword UTF8OutPi…
…peReader to use std::array so we can use .at and move some pointers to iterators.
Configuration menu - View commit details
-
Copy full SHA for 23897b1 - Browse repository at this point
Copy the full SHA 23897b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd2d5dd - Browse repository at this point
Copy the full SHA bd2d5ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for b33a598 - Browse repository at this point
Copy the full SHA b33a598View commit details -
Configuration menu - View commit details
-
Copy full SHA for c63289b - Browse repository at this point
Copy the full SHA c63289bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a381f6a - Browse repository at this point
Copy the full SHA a381f6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ea7401 - Browse repository at this point
Copy the full SHA 8ea7401View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50e2d0c - Browse repository at this point
Copy the full SHA 50e2d0cView commit details -
C26451, promote before arithmetic if storing in larger result size (o…
…r use safe math)
Configuration menu - View commit details
-
Copy full SHA for 8579d89 - Browse repository at this point
Copy the full SHA 8579d89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c3a629 - Browse repository at this point
Copy the full SHA 8c3a629View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f1157c - Browse repository at this point
Copy the full SHA 4f1157cView commit details
Commits on Sep 3, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 30e8e7f - Browse repository at this point
Copy the full SHA 30e8e7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cdfbf8f - Browse repository at this point
Copy the full SHA cdfbf8fView commit details -
C26466, disable dynamic_cast rule because we're not RTTI due to OS po…
…licy. Also reinstitute C6001 and C6011 because they're not actually a part of the 'core checks' and they're goodness we had before I turned them off at the beginning of this series.
Configuration menu - View commit details
-
Copy full SHA for 230e7f4 - Browse repository at this point
Copy the full SHA 230e7f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d4096b - Browse repository at this point
Copy the full SHA 7d4096bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81ab580 - Browse repository at this point
Copy the full SHA 81ab580View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5d7cf4 - Browse repository at this point
Copy the full SHA d5d7cf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbdfdf9 - Browse repository at this point
Copy the full SHA bbdfdf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b180406 - Browse repository at this point
Copy the full SHA b180406View commit details -
Configuration menu - View commit details
-
Copy full SHA for c956913 - Browse repository at this point
Copy the full SHA c956913View commit details -
C26429, mark gsl::not_null on places where we don't test for null (sh…
…ouldn't need to, internal methods only.
Configuration menu - View commit details
-
Copy full SHA for 594dca9 - Browse repository at this point
Copy the full SHA 594dca9View commit details -
C26430, not tested for nullness on all paths. I will just always chec…
…k for null as a defense against a bad QI implementation.
Configuration menu - View commit details
-
Copy full SHA for 45e5993 - Browse repository at this point
Copy the full SHA 45e5993View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9678dd8 - Browse repository at this point
Copy the full SHA 9678dd8View commit details -
C26460, use const on params that are unchanged (and remove some unnec…
…essary span refs).
Configuration menu - View commit details
-
Copy full SHA for dd49c3e - Browse repository at this point
Copy the full SHA dd49c3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8bc94f - Browse repository at this point
Copy the full SHA d8bc94fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d3f285 - Browse repository at this point
Copy the full SHA 2d3f285View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bbd8f4 - Browse repository at this point
Copy the full SHA 3bbd8f4View commit details -
C26434, do not hide base class methods. Overriding this one because i…
…t's going to require design changes that need a future todo.
Configuration menu - View commit details
-
Copy full SHA for b78d917 - Browse repository at this point
Copy the full SHA b78d917View commit details -
C26426, global initializers calling non-constexpr. Suppress for defau…
…lt settings as changing to wstring_view cascades through the entire codebase (non-trivial, string_views aren't guaranteed as Z terminated.)
Configuration menu - View commit details
-
Copy full SHA for b87f8f9 - Browse repository at this point
Copy the full SHA b87f8f9View commit details -
C26426, global initializer calls non-constexpr. This needs further co…
…nsideration. I brifely tried to turn GlyphWidth into a singleton class but it cascaded into interesting far corners of the code because IsGlyphFullWidth was liberally used everywhere for a long time. I'm punting here to a future work item.
Configuration menu - View commit details
-
Copy full SHA for 072bbfd - Browse repository at this point
Copy the full SHA 072bbfdView commit details -
C26426, global initializer calls non-constexpr. This is an easy move …
…to wstring_view.
Configuration menu - View commit details
-
Copy full SHA for 5d60d69 - Browse repository at this point
Copy the full SHA 5d60d69View commit details -
C26490, don't reinterpret_cast. It looks like the buffer can easily b…
…e char. Also use brace initialization per feedback.
Configuration menu - View commit details
-
Copy full SHA for c7f0a34 - Browse repository at this point
Copy the full SHA c7f0a34View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd144e9 - Browse repository at this point
Copy the full SHA cd144e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e14a59a - Browse repository at this point
Copy the full SHA e14a59aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87f5852 - Browse repository at this point
Copy the full SHA 87f5852View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2c093f - Browse repository at this point
Copy the full SHA b2c093fView commit details -
C26490, no reinterpret_cast. Suppress on OutputCellIterator because f…
…ixing it will make trouble in the Windows build if we're not careful thanks to non-differentiation of wchar_t and DWORD.
Configuration menu - View commit details
-
Copy full SHA for 3a0da64 - Browse repository at this point
Copy the full SHA 3a0da64View commit details -
C26490, no reinterpret_cast. Just use the actual struct and copy inst…
…ead of relying on the wink/nudge fact they're defined the same way.
Configuration menu - View commit details
-
Copy full SHA for 244fb72 - Browse repository at this point
Copy the full SHA 244fb72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41f209f - Browse repository at this point
Copy the full SHA 41f209fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93aa945 - Browse repository at this point
Copy the full SHA 93aa945View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae25a32 - Browse repository at this point
Copy the full SHA ae25a32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01bd770 - Browse repository at this point
Copy the full SHA 01bd770View commit details -
C26429, C26481, don't use pointer arithmetic, test for nullness. Also…
… eliminated completely unused GetTextRaw. Left todo behind for pointers as iterator boundaries in CharRowCellReference to fix later.
Configuration menu - View commit details
-
Copy full SHA for 23b4a46 - Browse repository at this point
Copy the full SHA 23b4a46View commit details -
C26481, don't use pointer arithmetic. Convert to measuring string wit…
…hin known limit and using view.
Configuration menu - View commit details
-
Copy full SHA for 4204733 - Browse repository at this point
Copy the full SHA 4204733View commit details -
Suppress last two errors (C26455 default constructor throw in DxEngin…
…e because it's due for refactoring soon anyway & C26444 custom construction/destruction on OutputCellIterator because I can't see what's going on and it needs more investigation and shouldn't hold this up). Also run codeformat.
Configuration menu - View commit details
-
Copy full SHA for 6735311 - Browse repository at this point
Copy the full SHA 6735311View commit details
Commits on Sep 4, 2019
-
constexprs have to go into the headers or other usages can't find the…
…m. Imagine that.
Configuration menu - View commit details
-
Copy full SHA for 7d9534b - Browse repository at this point
Copy the full SHA 7d9534bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c66e66 - Browse repository at this point
Copy the full SHA 7c66e66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bff2a3 - Browse repository at this point
Copy the full SHA 3bff2a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7c1e05 - Browse repository at this point
Copy the full SHA b7c1e05View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0c207b - Browse repository at this point
Copy the full SHA d0c207bView commit details
Commits on Sep 5, 2019
-
Add GH issue IDs to all the suppress/disables that I left behind as t…
…hey were a bit too challenging to solve with this giant PR
Configuration menu - View commit details
-
Copy full SHA for 96cc772 - Browse repository at this point
Copy the full SHA 96cc772View commit details -
Configuration menu - View commit details
-
Copy full SHA for 689c21e - Browse repository at this point
Copy the full SHA 689c21eView commit details -
use the array size for the read bounds. using extent on the newly-con…
…verted-to-array type doesn't give the correct value.
Configuration menu - View commit details
-
Copy full SHA for fc81adf - Browse repository at this point
Copy the full SHA fc81adfView commit details
Commits on Sep 6, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d8ff47a - Browse repository at this point
Copy the full SHA d8ff47aView commit details
Commits on Sep 9, 2019
-
A few PR comments. A constexpr here, a misleading comment there, and …
…an extraneous local.
Configuration menu - View commit details
-
Copy full SHA for 18bacfe - Browse repository at this point
Copy the full SHA 18bacfeView commit details