[libcxx-commits] [libcxx] c38ae74 - [libc++] Stop checking for trailing whitespace in check-generated-output (#72711)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon Nov 20 08:23:29 PST 2023


Author: Louis Dionne
Date: 2023-11-20T11:23:24-05:00
New Revision: c38ae74b48c1cb8aedf384686eaa05815d366609

URL: https://github.com/llvm/llvm-project/commit/c38ae74b48c1cb8aedf384686eaa05815d366609
DIFF: https://github.com/llvm/llvm-project/commit/c38ae74b48c1cb8aedf384686eaa05815d366609.diff

LOG: [libc++] Stop checking for trailing whitespace in check-generated-output (#72711)

Trailing whitespace is removed by clang-format, so if someone tries to
check-in new code with trailing whitespaces, it'll be caught by the
clang-format job. Removing this duplication helps reduce the confusion
around our numerous ways of enforcing formatting rules.

Added: 
    

Modified: 
    libcxx/utils/ci/run-buildbot

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/ci/run-buildbot b/libcxx/utils/ci/run-buildbot
index fe99388a799be8a..65d0cd6ee6b2871 100755
--- a/libcxx/utils/ci/run-buildbot
+++ b/libcxx/utils/ci/run-buildbot
@@ -262,9 +262,6 @@ check-generated-output)
            --exclude 'transcoding.pass.cpp' \
            --exclude 'underflow.pass.cpp' \
            || false
-
-    # Reject code with trailing whitespace
-    ! grep -rn '[[:blank:]]$' libcxx/include libcxx/src libcxx/test libcxx/benchmarks || false
 ;;
 #
 # Various Standard modes


        


More information about the libcxx-commits mailing list