GCC Middle and Back End API Reference
diagnostic-format-sarif.h File Reference
#include "json.h"
Include dependency graph for diagnostic-format-sarif.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  sarif_property_bag
class  sarif_object


json::objectmake_sarif_logical_location_object (const logical_location &logical_loc)

Function Documentation

◆ make_sarif_logical_location_object()

json::object * make_sarif_logical_location_object ( const logical_location & logical_loc)
Make a logicalLocation object (SARIF v2.1.0 section 3.33) for LOGICAL_LOC,
or return NULL.   

References ggc_alloc(), and maybe_get_sarif_kind().

Referenced by sarif_builder::set_any_logical_locs_arr().