aboutsummaryrefslogtreecommitdiffstats
path: root/googletest/scripts
diff options
context:
space:
mode:
authorGennadiy Rozental <rogeeff@google.com>2019-11-26 15:46:55 -0500
committerGennadiy Rozental <rogeeff@google.com>2019-11-26 15:46:55 -0500
commita32a2000947300720264205e0de88eee729f6b48 (patch)
treed48c1d35cc970900a789c77ac4409a3f07ac3198 /googletest/scripts
parent51545ee515fc9f27de0edabc74d96300f43b2966 (diff)
parentf79ac2ce0e785c6c0ffcc1e08d18cb414ceec83f (diff)
downloadgoogletest-a32a2000947300720264205e0de88eee729f6b48.tar.gz
googletest-a32a2000947300720264205e0de88eee729f6b48.tar.bz2
googletest-a32a2000947300720264205e0de88eee729f6b48.zip
Merge pull request #2588 from kuzkry:remove-workaround_g++-incorrect-comments
PiperOrigin-RevId: 282568282
Diffstat (limited to 'googletest/scripts')
-rwxr-xr-xgoogletest/scripts/gen_gtest_pred_impl.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/googletest/scripts/gen_gtest_pred_impl.py b/googletest/scripts/gen_gtest_pred_impl.py
index e76fcb0b..e09a6e01 100755
--- a/googletest/scripts/gen_gtest_pred_impl.py
+++ b/googletest/scripts/gen_gtest_pred_impl.py
@@ -439,9 +439,8 @@ bool PredFunction%(n)s(%(tvs)s) {
return %(v_sum)s > 0;
}
-// The following two functions are needed to circumvent a bug in
-// gcc 2.95.3, which sometimes has problem with the above template
-// function.
+// The following two functions are needed because a compiler doesn't have
+// a context yet to know which template function must be instantiated.
bool PredFunction%(n)sInt(%(int_vs)s) {
return %(v_sum)s > 0;
}