projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a894c8e
)
Use StringRef instead of std::string.
author
Devang Patel
<dpatel@apple.com>
Tue, 20 Sep 2011 17:55:19 +0000
(17:55 +0000)
committer
Devang Patel
<dpatel@apple.com>
Tue, 20 Sep 2011 17:55:19 +0000
(17:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140154
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Instrumentation/GCOVProfiling.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Instrumentation/GCOVProfiling.cpp
b/lib/Transforms/Instrumentation/GCOVProfiling.cpp
index e701f995785b83fc21f887c628e80c63b6392d2a..d55f0fa9192db0781c1e769a8521847198b48878 100644
(file)
--- a/
lib/Transforms/Instrumentation/GCOVProfiling.cpp
+++ b/
lib/Transforms/Instrumentation/GCOVProfiling.cpp
@@
-186,7
+186,7
@@
namespace {
// other blocks.
class GCOVBlock : public GCOVRecord {
public:
- GCOVLines &getFile(
std::string
Filename) {
+ GCOVLines &getFile(
StringRef
Filename) {
GCOVLines *&Lines = LinesByFile[Filename];
if (!Lines) {
Lines = new GCOVLines(os);