repo.or.cz
/
gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug 1879449 [wpt PR 44489] - [wptrunner] Add `infrastructure/expected-fail/` test...
[gecko.git]
/
tools
/
clang-tidy
/
test
/
performance-unnecessary-copy-initialization.cpp
blob
ca0f591a3e8df5b35a0385dbf562a9d060b4e1d3
1
#include
"structures.h"
2
3
extern
const
std
::
string
&
constReference
();
4
5
void
foo
() {
6
const
std
::
string UnnecessaryCopy
=
constReference
();
7
}