projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ad751e
)
[clangd] Fix an accident change in r342999.
author
Haojian Wu
<hokein@google.com>
Tue, 9 Oct 2018 15:16:14 +0000
(15:16 +0000)
committer
Haojian Wu
<hokein@google.com>
Tue, 9 Oct 2018 15:16:14 +0000
(15:16 +0000)
llvm-svn: 344054
clang-tools-extra/clangd/index/YAMLSerialization.cpp
patch
|
blob
|
history
diff --git
a/clang-tools-extra/clangd/index/YAMLSerialization.cpp
b/clang-tools-extra/clangd/index/YAMLSerialization.cpp
index
a426cce
..
06c4ef7
100644
(file)
--- a/
clang-tools-extra/clangd/index/YAMLSerialization.cpp
+++ b/
clang-tools-extra/clangd/index/YAMLSerialization.cpp
@@
-286,7
+286,7
@@
std::string toYAML(const Symbol &S) {
llvm::raw_string_ostream OS(Buf);
llvm::yaml::Output Yout(OS);
Symbol Sym = S; // copy: Yout<< requires mutability.
-
OS
<< Sym;
+
Yout
<< Sym;
}
return Buf;
}