class StringAttributeImpl

Declaration

class StringAttributeImpl : public AttributeImpl { /* full declaration omitted */ };

Description

This class represents a single, uniqued attribute. That attribute could be a single enum, a tuple, or a string.

Declared at: llvm/lib/IR/AttributeImpl.h:147

Inherits from: AttributeImpl

Method Overview

Inherited from AttributeImpl:

Inherited from FoldingSetBase::Node:

Methods

StringAttributeImpl(
    llvm::StringRef Kind,
    llvm::StringRef Val = llvm::StringRef())

Declared at: llvm/lib/IR/AttributeImpl.h:154

Parameters

llvm::StringRef Kind
llvm::StringRef Val = llvm::StringRef()

llvm::StringRef getStringKind() const

Declared at: llvm/lib/IR/AttributeImpl.h:157

llvm::StringRef getStringValue() const

Declared at: llvm/lib/IR/AttributeImpl.h:158