clang 19.0.0git
Public Member Functions | Public Attributes | List of all members
clang::extractapi::SymbolReference Struct Reference

sources. More...

#include "clang/ExtractAPI/API.h"

Public Member Functions

 SymbolReference ()=default
 SymbolReference (StringRef Name, StringRef USR, StringRef Source="")
 SymbolReference (const APIRecord *R)
bool empty () const
 Determine if this SymbolReference is empty.

Public Attributes

StringRef Name
StringRef USR
StringRef Source
 The source project/module/product of the referred symbol.
const APIRecordRecord = nullptr

Detailed Description


Definition at line 164 of file API.h.

Constructor & Destructor Documentation

◆ SymbolReference() [1/3]

clang::extractapi::SymbolReference::SymbolReference ( )

◆ SymbolReference() [2/3]

clang::extractapi::SymbolReference::SymbolReference ( StringRef  Name,
StringRef  USR,
StringRef  Source = "" 

Definition at line 175 of file API.h.

◆ SymbolReference() [3/3]

SymbolReference::SymbolReference ( const APIRecord R)

Definition at line 25 of file API.cpp.

Member Function Documentation

◆ empty()

bool clang::extractapi::SymbolReference::empty ( ) const

Determine if this SymbolReference is empty.

true if and only if all Name, USR, and Source is empty.

Definition at line 182 of file API.h.

References Name, Source, and USR.

Member Data Documentation

◆ Name

StringRef clang::extractapi::SymbolReference::Name

◆ Record

const APIRecord* clang::extractapi::SymbolReference::Record = nullptr

Definition at line 172 of file API.h.

◆ Source

StringRef clang::extractapi::SymbolReference::Source


StringRef clang::extractapi::SymbolReference::USR

The documentation for this struct was generated from the following files: