summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ProfileData/InstrProfWriter.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-12 21:46:39 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-12 21:46:39 +0000
commit3acea39853d1a5ef2f3920c27f5748778fe53af9 (patch)
treef93b4e1c0fcdb02cf6c80b8e894f0f3b92f1bcac /llvm/lib/ProfileData/InstrProfWriter.cpp
parentb6e7d64f3070db641c332ca495215b8c3b887882 (diff)
downloadbcm5719-llvm-3acea39853d1a5ef2f3920c27f5748778fe53af9.tar.gz
bcm5719-llvm-3acea39853d1a5ef2f3920c27f5748778fe53af9.zip
Don't use 'using std::error_code' in include/llvm.
This should make sure that most new uses use the std prefix. llvm-svn: 210835
Diffstat (limited to 'llvm/lib/ProfileData/InstrProfWriter.cpp')
-rw-r--r--llvm/lib/ProfileData/InstrProfWriter.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/ProfileData/InstrProfWriter.cpp b/llvm/lib/ProfileData/InstrProfWriter.cpp
index 83c41d93bb1..e55c2991813 100644
--- a/llvm/lib/ProfileData/InstrProfWriter.cpp
+++ b/llvm/lib/ProfileData/InstrProfWriter.cpp
@@ -66,9 +66,10 @@ public:
};
}
-error_code InstrProfWriter::addFunctionCounts(StringRef FunctionName,
- uint64_t FunctionHash,
- ArrayRef<uint64_t> Counters) {
+std::error_code
+InstrProfWriter::addFunctionCounts(StringRef FunctionName,
+ uint64_t FunctionHash,
+ ArrayRef<uint64_t> Counters) {
auto Where = FunctionData.find(FunctionName);
if (Where == FunctionData.end()) {
// If this is the first time we've seen this function, just add it.
OpenPOWER on IntegriCloud