Add explicit keywords, and fix a minor typo that they uncovered.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45034 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2007-12-14 15:41:34 +00:00
parent 064a57a77d
commit ded2b0d0fb
8 changed files with 11 additions and 10 deletions

View File

@@ -30,7 +30,7 @@ namespace {
std::ostream &OS;
public:
Printer(std::ostream &OS = *cerr);
explicit Printer(std::ostream &OS = *cerr);
const char *getPassName() const;
void getAnalysisUsage(AnalysisUsage &AU) const;