Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spir_name_mangler/ParameterType.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ namespace SPIR {
m_address_space = attr;
}

const TypeAttributeEnum PointerType::getAddressSpace() const {
TypeAttributeEnum PointerType::getAddressSpace() const {
return m_address_space;
}

Expand Down
4 changes: 2 additions & 2 deletions spir_name_mangler/ParameterType.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,13 @@ namespace SPIR {

/// @brief Returns the pointer's address space.
/// @return pointer's address space.
const TypeAttributeEnum getAddressSpace() const;
TypeAttributeEnum getAddressSpace() const;

/// @brief Adds or removes a pointer's qualifier.
/// @param TypeAttributeEnum qual - qualifier to add/remove.
/// @param bool enabled - true if qualifier should exist false otherwise.
/// default is set to false.
void PointerType::setQualifier(TypeAttributeEnum qual, bool enabled);
void setQualifier(TypeAttributeEnum qual, bool enabled);

/// @brief Checks if the pointer has a certain qualifier.
/// @param TypeAttributeEnum qual - qualifier to check.
Expand Down