summaryrefslogtreecommitdiffstats
path: root/include/clang/Edit/Commit.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Edit/Commit.h')
-rw-r--r--include/clang/Edit/Commit.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/clang/Edit/Commit.h b/include/clang/Edit/Commit.h
index 5cc5b9c..ac4bb47 100644
--- a/include/clang/Edit/Commit.h
+++ b/include/clang/Edit/Commit.h
@@ -134,12 +134,6 @@ private:
SourceLocation *MacroBegin = nullptr) const;
bool isAtEndOfMacroExpansion(SourceLocation loc,
SourceLocation *MacroEnd = nullptr) const;
-
- StringRef copyString(StringRef str) {
- char *buf = StrAlloc.Allocate<char>(str.size());
- std::memcpy(buf, str.data(), str.size());
- return StringRef(buf, str.size());
- }
};
}
OpenPOWER on IntegriCloud