[llvm-commits] CVS: llvm/utils/TableGen/FileParser.y

Chris Lattner lattner at cs.uiuc.edu
Thu Sep 8 11:22:48 PDT 2005



Changes in directory llvm/utils/TableGen:

FileParser.y updated: 1.33 -> 1.34
---
Log message:

Tabs to spaces.


---
Diffs of the changes:  (+12 -12)

 FileParser.y |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)


Index: llvm/utils/TableGen/FileParser.y
diff -u llvm/utils/TableGen/FileParser.y:1.33 llvm/utils/TableGen/FileParser.y:1.34
--- llvm/utils/TableGen/FileParser.y:1.33	Mon Apr 18 22:36:21 2005
+++ llvm/utils/TableGen/FileParser.y	Thu Sep  8 13:22:35 2005
@@ -153,8 +153,8 @@
     // value or leaving them as the default if necessary.
     for (unsigned i = 0, e = TArgs.size(); i != e; ++i) {
       if (i < TemplateArgs.size()) {  // A value is specified for this temp-arg?
-	// Set it now.
-	setValue(TArgs[i], 0, TemplateArgs[i]);
+        // Set it now.
+        setValue(TArgs[i], 0, TemplateArgs[i]);
 
         // Resolve it next.
         CurRec->resolveReferencesTo(CurRec->getValue(TArgs[i]));
@@ -164,10 +164,10 @@
         CurRec->removeValue(TArgs[i]);
 
       } else if (!CurRec->getValue(TArgs[i])->getValue()->isComplete()) {
-	err() << "ERROR: Value not specified for template argument #"
-	      << i << " (" << TArgs[i] << ") of subclass '" << SC->getName()
-	      << "'!\n";
-	exit(1);
+        err() << "ERROR: Value not specified for template argument #"
+              << i << " (" << TArgs[i] << ") of subclass '" << SC->getName()
+              << "'!\n";
+        exit(1);
       }
     }
   }
@@ -268,9 +268,9 @@
     for (unsigned i = 0, e = $2->size(); i != e; ++i) {
       struct Init *Bit = (*$2)[i]->convertInitializerTo(new BitRecTy());
       if (Bit == 0) {
-	err() << "Element #" << i << " (" << *(*$2)[i]
-	      << ") is not convertable to a bit!\n";
-	exit(1);
+        err() << "Element #" << i << " (" << *(*$2)[i]
+       	      << ") is not convertable to a bit!\n";
+        exit(1);
       }
       Init->setBit($2->size()-i-1, Bit);
     }
@@ -515,14 +515,14 @@
          } OptTemplateArgList ClassList {
            ParsingTemplateArgs = false;
            for (unsigned i = 0, e = $4->size(); i != e; ++i) {
-	     addSubClass((*$4)[i].first, *(*$4)[i].second);
+             addSubClass((*$4)[i].first, *(*$4)[i].second);
              // Delete the template arg values for the class
              delete (*$4)[i].second;
            }
            delete $4;   // Delete the class list...
 
-	   // Process any variables on the set stack...
-	   for (unsigned i = 0, e = LetStack.size(); i != e; ++i)
+           // Process any variables on the set stack...
+           for (unsigned i = 0, e = LetStack.size(); i != e; ++i)
              for (unsigned j = 0, e = LetStack[i].size(); j != e; ++j)
                setValue(LetStack[i][j].Name,
                         LetStack[i][j].HasBits ? &LetStack[i][j].Bits : 0,






More information about the llvm-commits mailing list