Add explicit keywords.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37839 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2007-07-02 14:53:37 +00:00
parent 0142677fe2
commit a6900c7ad9
5 changed files with 6 additions and 6 deletions

View File

@ -38,7 +38,7 @@ namespace {
struct VISIBILITY_HIDDEN NoAA : public ImmutablePass, public AliasAnalysis {
static char ID; // Class identification, replacement for typeinfo
NoAA() : ImmutablePass((intptr_t)&ID) {}
NoAA(intptr_t PID) : ImmutablePass(PID) { }
explicit NoAA(intptr_t PID) : ImmutablePass(PID) { }
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<TargetData>();