[1/2] Fixup for rebase: c-format.c: get_pointer_to_named_type -> get_named_type

Message ID 20191208142818.10857-2-dmalcolm@redhat.com
State New
Headers show
Series
  • v3 of analyzer patch kit (unsquashed)
Related show

Commit Message

David Malcolm Dec. 8, 2019, 2:28 p.m.
r278634 changed this, so need to apply this when rebasing

gcc/c-family/ChangeLog:
	* c-format.c (init_dynamic_diag_info): Use get_named_type
	rather than get_pointer_to_named_type, reflecting r278634.
---
 gcc/c-family/c-format.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.21.0

Patch

diff --git a/gcc/c-family/c-format.c b/gcc/c-family/c-format.c
index c5ca71216633..be092b1f3b62 100644
--- a/gcc/c-family/c-format.c
+++ b/gcc/c-family/c-format.c
@@ -4993,7 +4993,7 @@  init_dynamic_diag_info (void)
   /* Similar to the above but for diagnostic_event_id_t*.  */
   if (!local_event_ptr_node
       || local_event_ptr_node == void_type_node)
-    local_event_ptr_node = get_pointer_to_named_type ("diagnostic_event_id_t");
+    local_event_ptr_node = get_named_type ("diagnostic_event_id_t");
 
   static tree hwi;