Skip to content
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

Remove obsolete NODISCARD ifdef forest. Use [[nodiscard]] (C++17). #20499

Merged
merged 2 commits into from
Nov 30, 2020

Commits on Nov 26, 2020

  1. scripted-diff: Use [[nodiscard]] (C++17) instead of NODISCARD

    -BEGIN VERIFY SCRIPT-
    sed -i "s/NODISCARD/[[nodiscard]]/g" $(git grep -l "NODISCARD" ":(exclude)src/bench/nanobench.h" ":(exclude)src/attributes.h")
    -END VERIFY SCRIPT-
    practicalswift committed Nov 26, 2020
    1 Configuration menu
    Copy the full SHA
    4848e71 View commit details
    Browse the repository at this point in the history
  2. Remove NODISCARD

    practicalswift committed Nov 26, 2020
    1 Configuration menu
    Copy the full SHA
    79bff8e View commit details
    Browse the repository at this point in the history