GCC Middle and Back End API Reference
diagnostics::logical_locations Namespace Reference

Data Structures

class  key
class  manager

Enumerations

enum class  kind {
  unknown , function , member , module_ ,
  namespace_ , type , return_type , parameter ,
  variable , element , attribute , text ,
  comment , processing_instruction , dtd , declaration ,
  object , array , property , value
}

Enumeration Type Documentation

◆ kind

An enum for discriminating between different kinds of logical location
for a diagnostic.

Roughly corresponds to logicalLocation's "kind" property in SARIF v2.1.0
(section 3.33.7).   
Enumerator
unknown 
function 
member 
module_ 
namespace_ 
type 
return_type 
parameter 
variable 
element 
attribute 
text 
comment 
processing_instruction 
dtd 
declaration 
object 
array 
property 
value