]> gcc.gnu.org Git - gcc.git/commitdiff
Remove stray reference to error_at_rich_loc
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 15 Oct 2018 22:09:51 +0000 (22:09 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Mon, 15 Oct 2018 22:09:51 +0000 (22:09 +0000)
"error_at_rich_loc" went away in r254280 (in favor of overloading
"error_at"), but there was a stray reference in a comment.

Remove it.

gcc/ChangeLog:
* gcc-rich-location.h (gcc_rich_location::add_location_if_nearby):
Fix usage of "error_at_rich_loc" in the comment.

From-SVN: r265177

gcc/ChangeLog
gcc/gcc-rich-location.h

index 0b8c7e555a633df0803b74521ba81852a27d81b1..82f3f02dabc398ca8a26ba85478f586fea2d1a6f 100644 (file)
@@ -1,3 +1,8 @@
+2018-10-15  David Malcolm  <dmalcolm@redhat.com>
+
+       * gcc-rich-location.h (gcc_rich_location::add_location_if_nearby):
+       Fix usage of "error_at_rich_loc" in the comment.
+
 2018-10-15  Renlin Li  <renlin.li@arm.com>
 
        PR target/87563
index e55dd76f4c6cf91394d0fc66bd30139c24e44fb4..d282fd4e29a25a1ecfa02389bf6cb0a954dc4f6c 100644 (file)
@@ -56,7 +56,7 @@ class gcc_rich_location : public rich_location
 
        gcc_rich_location richloc (primary_loc);
        bool added secondary = richloc.add_location_if_nearby (secondary_loc);
-       error_at_rich_loc (&richloc, "main message");
+       error_at (&richloc, "main message");
        if (!added secondary)
          inform (secondary_loc, "message for secondary");
 
This page took 0.092342 seconds and 5 git commands to generate.