Skip to content

Commit

Permalink
tidy code
Browse files Browse the repository at this point in the history
  • Loading branch information
danielaparker committed Dec 31, 2024
1 parent a970b9c commit a8623ac
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@
# fuchsia-virtual-inheritance

Checks: '*,
- fuchsia-virtual-inheritance,
- modernize-return-braced-init-list,
- readability-avoid-nested-conditional-operator,
-llvm-else-after-return,
-readability-else-after-return,
-cppcoreguidelines-avoid-c-arrays,
-hicpp-avoid-c-arrays,
-modernize-avoid-c-arrays,
-fuchsia-virtual-inheritance,
-modernize-return-braced-init-list,
-readability-avoid-nested-conditional-operator,
-google-readability-casting,
-bugprone-branch-clone,
-hicpp-named-parameter,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion include/jsoncons_ext/bson/bson_decimal128.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ namespace jsoncons { namespace bson {
}

/* Check for Infinity or NaN */
if (!isdigit (*str_read) && *str_read != '.') {
if (!isdigit(*str_read) && *str_read != '.') {
if (detail::dec128_istreq (str_read, last, inf_str.data(), inf_str.data()+inf_str.length()) ||
detail::dec128_istreq (str_read, last, infinity_str.data(), infinity_str.data()+infinity_str.length()))
{
Expand Down

0 comments on commit a8623ac

Please sign in to comment.