diff options
author | Gennadiy Rozental <rogeeff@google.com> | 2019-11-26 20:46:55 (GMT) |
---|---|---|
committer | Gennadiy Rozental <rogeeff@google.com> | 2019-11-26 20:46:55 (GMT) |
commit | a32a2000947300720264205e0de88eee729f6b48 (patch) | |
tree | d48c1d35cc970900a789c77ac4409a3f07ac3198 /googletest/scripts/gen_gtest_pred_impl.py | |
parent | 51545ee515fc9f27de0edabc74d96300f43b2966 (diff) | |
parent | f79ac2ce0e785c6c0ffcc1e08d18cb414ceec83f (diff) | |
download | googletest-a32a2000947300720264205e0de88eee729f6b48.zip googletest-a32a2000947300720264205e0de88eee729f6b48.tar.gz googletest-a32a2000947300720264205e0de88eee729f6b48.tar.bz2 |
Merge pull request #2588 from kuzkry:remove-workaround_g++-incorrect-comments
PiperOrigin-RevId: 282568282
Diffstat (limited to 'googletest/scripts/gen_gtest_pred_impl.py')
-rwxr-xr-x | googletest/scripts/gen_gtest_pred_impl.py | 5 |
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 e76fcb0..e09a6e0 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; } |