Skip to content

Instantly share code, notes, and snippets.

@LegalizeAdulthood
Last active May 22, 2024 18:08
Show Gist options
  • Save LegalizeAdulthood/933c867c563303ce047f to your computer and use it in GitHub Desktop.
Save LegalizeAdulthood/933c867c563303ce047f to your computer and use it in GitHub Desktop.
My Clang Contributions

My Clang Contributions

In Review

To Do

  • clang-tidy checks:
    • readability-redundant-fwd-decl check
    • readability-redundant-control-flow
      • Improve test case
      • Handle redundant control flow statements inside an if statement at the end of a control flow scope
    • readability-simplify-boolean-expr
      • Apply fixes to header files
      • Handle macro expansion better (iterated-dynamics case)
      • Simplify !(a < b) to (a >= b) and similar for other comparison operators
      • Improve handling of integral types implicitly converted to bool (case with std::vector::size_type implicitly converted)
    • modernize-redundant-void-arg
      • Apply fixes to header files
      • Don't apply fixes to macros
    • modernize-raw-string-literal
      • Enhance to support non-ASCII string literals: wchar_t, char16_t, char32_t, u8"", u"", U"", L""

Accepted Submissions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment