projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't use 'using std::error_code' in include/llvm.
[oota-llvm.git]
/
include
/
llvm
/
ProfileData
/
InstrProfWriter.h
diff --git
a/include/llvm/ProfileData/InstrProfWriter.h
b/include/llvm/ProfileData/InstrProfWriter.h
index f818fa08fa7fb24c65fb228a3de004d8cfcc7bf0..6e68bee30eb8ad15f39efa0a15dfa924db9d3fc8 100644
(file)
--- a/
include/llvm/ProfileData/InstrProfWriter.h
+++ b/
include/llvm/ProfileData/InstrProfWriter.h
@@
-38,10
+38,11
@@
public:
/// Add function counts for the given function. If there are already counts
/// for this function and the hash and number of counts match, each counter is
/// summed.
/// Add function counts for the given function. If there are already counts
/// for this function and the hash and number of counts match, each counter is
/// summed.
- error_code addFunctionCounts(StringRef FunctionName, uint64_t FunctionHash,
- ArrayRef<uint64_t> Counters);
+ std::error_code addFunctionCounts(StringRef FunctionName,
+ uint64_t FunctionHash,
+ ArrayRef<uint64_t> Counters);
/// Ensure that all data is written to disk.
/// Ensure that all data is written to disk.
- void write(raw_ostream &OS);
+ void write(raw_
fd_
ostream &OS);
};
} // end namespace llvm
};
} // end namespace llvm