1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

[Analysis] Drop unnecessary const from return types (NFC)

Identified with readability-const-return-type.
This commit is contained in:
Kazu Hirata 2021-02-13 20:41:38 -08:00
parent d66c382a33
commit 48654a06bf

View File

@ -293,8 +293,8 @@ public:
/// Return a string representing the type of dependence that the dependence
/// analysis identified between the two given nodes. This function assumes
/// that there is a memory dependence between the given two nodes.
const std::string getDependenceString(const NodeType &Src,
const NodeType &Dst) const;
std::string getDependenceString(const NodeType &Src,
const NodeType &Dst) const;
protected:
// Name of the graph.
@ -470,7 +470,7 @@ bool DependenceGraphInfo<NodeType>::getDependencies(
}
template <typename NodeType>
const std::string
std::string
DependenceGraphInfo<NodeType>::getDependenceString(const NodeType &Src,
const NodeType &Dst) const {
std::string Str;