GCC 3.1 changes
authorChris Lattner <sabre@nondot.org>
Thu, 25 Jul 2002 06:17:42 +0000 (06:17 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 25 Jul 2002 06:17:42 +0000 (06:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3074 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AsmParser/Lexer.l
lib/AsmParser/llvmAsmParser.y

index faddcb16d51d3801e1d1fc9acbf5a832bf69a1b8..b8373250a74d0ebff166e4717e0a5113e75d6fc3 100644 (file)
@@ -85,7 +85,7 @@ static double HexToFP(const char *Buffer) {
 // If AllowNull is set to true, the return value of the function points to the
 // last character of the string in memory.
 //
-char *UnEscapeLexed(char *Buffer, bool AllowNull = false) {
+char *UnEscapeLexed(char *Buffer, bool AllowNull) {
   char *BOut = Buffer;
   for (char *BIn = Buffer; *BIn; ) {
     if (BIn[0] == '\\' && isxdigit(BIn[1]) && isxdigit(BIn[2])) {
index a9e4e75d44c2748fa733b0e919a26bce0f25bde5..33ae800b594284247be7067540821e2239f4c780 100644 (file)
@@ -387,7 +387,7 @@ static Value *getVal(const Type *Ty, const ValID &D) {
 // defs now...
 //
 static void ResolveDefinitions(vector<ValueList> &LateResolvers,
-                               vector<ValueList> *FutureLateResolvers = 0) {
+                               vector<ValueList> *FutureLateResolvers) {
   // Loop over LateResolveDefs fixing up stuff that couldn't be resolved
   for (unsigned ty = 0; ty < LateResolvers.size(); ty++) {
     while (!LateResolvers[ty].empty()) {