OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f05d4a7
)
ErrorInfoBase::message(): Don't use raw_string_ostream's buffer, Msg, before closing...
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Sat, 7 May 2016 08:43:11 +0000
(08:43 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Sat, 7 May 2016 08:43:11 +0000
(08:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268856
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/Error.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/Error.h
b/include/llvm/Support/Error.h
index
ed82148
..
2452ffa
100644
(file)
--- a/
include/llvm/Support/Error.h
+++ b/
include/llvm/Support/Error.h
@@
-41,7
+41,7
@@
public:
std::string Msg;
raw_string_ostream OS(Msg);
log(OS);
- return
Msg
;
+ return
OS.str()
;
}
/// Convert this error to a std::error_code.