Improve comments on check_v3_target_filesystem_ts
authorJonathan Wakely <jwakely@redhat.com>
Tue, 2 Aug 2016 19:34:30 +0000 (20:34 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 2 Aug 2016 19:34:30 +0000 (20:34 +0100)
* testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Improve
comments.

From-SVN: r238995

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/lib/libstdc++.exp

index 4bb89fa2a1e2a8e1334c3281ceac6792ae21fe3b..3f80c01792526f4d64aabb2f62f47a026aa78304 100644 (file)
@@ -1,5 +1,8 @@
 2016-08-02  Jonathan Wakely  <jwakely@redhat.com>
 
+       * testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Improve
+       comments.
+
        * testsuite/19_diagnostics/error_code/operators/bool_neg.cc: Move
        dg-error to relevant line.
        * testsuite/19_diagnostics/error_condition/operators/bool_neg.cc:
index e2afbe541a8fd69b9def1cbfbf6b4845a52ac38a..2ea8702a5c5ac6132c636f8080cbc7a571aa98cb 100644 (file)
@@ -1925,6 +1925,8 @@ proc check_v3_target_little_endian { } {
     return $et_little_endian
 }
 
+# Return 1 if the Filesystem TS is suported, 0 otherwise.
+# Cache the result.
 proc check_v3_target_filesystem_ts { } {
     global cxxflags
     global DEFAULT_CXXFLAGS
@@ -1952,7 +1954,7 @@ proc check_v3_target_filesystem_ts { } {
        set et_filesystem_ts 0
 
        # Set up and preprocess a C++ test program that depends
-       # on debug mode activated.
+       # on the Filesystem TS feature-test macro being defined.
        set src filesystem_ts[pid].cc
 
        set f [open $src "w"]