[cfe-commits] r74479 - /cfe/trunk/lib/Basic/Targets.cpp
Daniel Dunbar
daniel at zuster.org
Mon Jun 29 16:58:47 PDT 2009
Author: ddunbar
Date: Mon Jun 29 18:58:47 2009
New Revision: 74479
URL: http://llvm.org/viewvc/llvm-project?rev=74479&view=rev
Log:
Use true/false instead of 1/0.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=74479&r1=74478&r2=74479&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Mon Jun 29 18:58:47 2009
@@ -886,7 +886,7 @@
virtual void getTargetDefines(const LangOptions &Opts,
std::vector<char> &Defines) const {
X86_32TargetInfo::getTargetDefines(Opts, Defines);
- getOpenBSDDefines(Opts, 0, getTargetTriple(), Defines);
+ getOpenBSDDefines(Opts, false, getTargetTriple(), Defines);
}
};
} // end anonymous namespace
@@ -900,7 +900,7 @@
virtual void getTargetDefines(const LangOptions &Opts,
std::vector<char> &Defines) const {
X86_32TargetInfo::getTargetDefines(Opts, Defines);
- getFreeBSDDefines(Opts, 0, getTargetTriple(), Defines);
+ getFreeBSDDefines(Opts, false, getTargetTriple(), Defines);
}
};
} // end anonymous namespace
@@ -1021,7 +1021,7 @@
virtual void getTargetDefines(const LangOptions &Opts,
std::vector<char> &Defines) const {
X86_64TargetInfo::getTargetDefines(Opts, Defines);
- getOpenBSDDefines(Opts, 1, getTargetTriple(), Defines);
+ getOpenBSDDefines(Opts, true, getTargetTriple(), Defines);
}
};
} // end anonymous namespace
@@ -1035,7 +1035,7 @@
virtual void getTargetDefines(const LangOptions &Opts,
std::vector<char> &Defines) const {
X86_64TargetInfo::getTargetDefines(Opts, Defines);
- getFreeBSDDefines(Opts, 1, getTargetTriple(), Defines);
+ getFreeBSDDefines(Opts, true, getTargetTriple(), Defines);
}
};
} // end anonymous namespace
More information about the cfe-commits
mailing list