diff options
author | David Malcolm <dmalcolm@redhat.com> | 2016-08-29 20:52:10 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2016-08-29 20:52:10 +0000 |
commit | cfa435e1e857ec963d7c8727015baad71d602bfa (patch) | |
tree | 778a6b0f81e4efe0836af9d8cb4a7d841632e0aa /gcc | |
parent | 2aa514130a99ffeaff6ae3cdddf609be358022be (diff) | |
download | gcc-cfa435e1e857ec963d7c8727015baad71d602bfa.zip gcc-cfa435e1e857ec963d7c8727015baad71d602bfa.tar.gz gcc-cfa435e1e857ec963d7c8727015baad71d602bfa.tar.bz2 |
input.c: fix the comment for test_make_location_nonpure_range_endpoints
gcc/ChangeLog:
* input.c
(selftest::test_make_location_nonpure_range_endpoints): Fix
header comment.
From-SVN: r239844
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/input.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4783518..d59bc7d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2016-08-29 David Malcolm <dmalcolm@redhat.com> + * input.c + (selftest::test_make_location_nonpure_range_endpoints): Fix + header comment. + +2016-08-29 David Malcolm <dmalcolm@redhat.com> + * diagnostic-show-locus.c (selftest::test_one_liner_fixit_validation_adhoc_locations): New function. diff --git a/gcc/input.c b/gcc/input.c index a3fe542..2ff7cb8 100644 --- a/gcc/input.c +++ b/gcc/input.c @@ -1720,8 +1720,8 @@ test_builtins () } /* Regression test for make_location. - Ensure that we use the caret locations of the start/finish, rather - than storing a packed or ad-hoc range as the start/finish. */ + Ensure that we use pure locations for the start/finish of the range, + rather than storing a packed or ad-hoc range as the start/finish. */ static void test_make_location_nonpure_range_endpoints (const line_table_case &case_) |