clang  14.0.0git
Public Member Functions | List of all members
clang::tooling::SymbolName Class Reference

A name of a symbol. More...

#include "clang/Tooling/Refactoring/Rename/SymbolName.h"

Public Member Functions

 SymbolName (StringRef Name)
 
ArrayRef< std::stringgetNamePieces () const
 

Detailed Description

A name of a symbol.

Symbol's name can be composed of multiple strings. For example, Objective-C methods can contain multiple argument labels:

- (void) myMethodNamePiece: (int)x anotherNamePieces:(int)y;
// ^~ string 0 ~~~~~ ^~ string 1 ~~~~~

Definition at line 29 of file SymbolName.h.

Constructor & Destructor Documentation

◆ SymbolName()

clang::tooling::SymbolName::SymbolName ( StringRef  Name)
inlineexplicit

Definition at line 31 of file SymbolName.h.

Member Function Documentation

◆ getNamePieces()

ArrayRef<std::string> clang::tooling::SymbolName::getNamePieces ( ) const
inline

Definition at line 39 of file SymbolName.h.


The documentation for this class was generated from the following file:
int
__device__ int
Definition: __clang_hip_libdevice_declares.h:63
x
IRgen optimization opportunities The common pattern of short x
Definition: README.txt:7