clang 20.0.0git
Public Attributes | List of all members
clang::UnqualifiedId::OFI Struct Reference

#include "clang/Sema/DeclSpec.h"

Public Attributes

OverloadedOperatorKind Operator
 The kind of overloaded operator.
 
SourceLocation SymbolLocations [3]
 The source locations of the individual tokens that name the operator, e.g., the "new", "[", and "]" tokens in operator new [].
 

Detailed Description

Definition at line 1037 of file DeclSpec.h.

Member Data Documentation

◆ Operator

OverloadedOperatorKind clang::UnqualifiedId::OFI::Operator

The kind of overloaded operator.

Definition at line 1039 of file DeclSpec.h.

Referenced by clang::UnqualifiedId::setOperatorFunctionId().

◆ SymbolLocations

SourceLocation clang::UnqualifiedId::OFI::SymbolLocations[3]

The source locations of the individual tokens that name the operator, e.g., the "new", "[", and "]" tokens in operator new [].

Different operators have different numbers of tokens in their name, up to three. Any remaining source locations in this array will be set to an invalid value for operators with fewer than three tokens.

Definition at line 1048 of file DeclSpec.h.

Referenced by clang::UnqualifiedId::setOperatorFunctionId().


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