aboutsummaryrefslogtreecommitdiffstats
path: root/googletest/scripts
diff options
context:
space:
mode:
authorKrystian Kuzniarek <krystian.kuzniarek@gmail.com>2019-11-05 06:37:41 +0100
committerKrystian Kuzniarek <krystian.kuzniarek@gmail.com>2019-11-05 06:55:32 +0100
commitf79ac2ce0e785c6c0ffcc1e08d18cb414ceec83f (patch)
tree2715e479b897020bbb9a564c4b6693840d09cf83 /googletest/scripts
parentf9665846e405664bec650d77f9dd236c61a293b0 (diff)
downloadgoogletest-f79ac2ce0e785c6c0ffcc1e08d18cb414ceec83f.tar.gz
googletest-f79ac2ce0e785c6c0ffcc1e08d18cb414ceec83f.tar.bz2
googletest-f79ac2ce0e785c6c0ffcc1e08d18cb414ceec83f.zip
change incorrect comments
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 20206e39..3ffb972e 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;
}