diff options
| author | Nick Lewycky <nicholas@mxc.ca> | 2009-03-19 06:31:22 +0000 | 
|---|---|---|
| committer | Nick Lewycky <nicholas@mxc.ca> | 2009-03-19 06:31:22 +0000 | 
| commit | 063699af702ea954c91d941ebd3022c7ce79e23b (patch) | |
| tree | f741647e7768ac77b168fc022880f45932547fca /llvm/lib/VMCore/AsmWriter.cpp | |
| parent | bfd4ad67c7fc4da9ee66132adbca7cfcb4fee949 (diff) | |
| download | bcm5719-llvm-063699af702ea954c91d941ebd3022c7ce79e23b.tar.gz bcm5719-llvm-063699af702ea954c91d941ebd3022c7ce79e23b.zip  | |
Fix a couple glaring whitespace issues. This file isn't internally consistent
either.
llvm-svn: 67288
Diffstat (limited to 'llvm/lib/VMCore/AsmWriter.cpp')
| -rw-r--r-- | llvm/lib/VMCore/AsmWriter.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp index b9ed8aff381..b12d4f85d3f 100644 --- a/llvm/lib/VMCore/AsmWriter.cpp +++ b/llvm/lib/VMCore/AsmWriter.cpp @@ -98,7 +98,7 @@ static void PrintLLVMName(raw_ostream &OS, const char *NameStr,    case GlobalPrefix: OS << '@'; break;    case LabelPrefix:  break;    case LocalPrefix:  OS << '%'; break; -  }       +  }    // Scan the name to see if it needs quotes first.    bool NeedsQuotes = isdigit(NameStr[0]); @@ -169,7 +169,7 @@ void TypePrinting::CalcTypeName(const Type *Ty,                                  raw_ostream &OS, bool IgnoreTopLevelName) {    // Check to see if the type is named.    if (!IgnoreTopLevelName) { -    DenseMap<const Type*, std::string> &TM = getTypeNamesMap(TypeNames); +    DenseMap<const Type *, std::string> &TM = getTypeNamesMap(TypeNames);      DenseMap<const Type *, std::string>::iterator I = TM.find(Ty);      if (I != TM.end()) {        OS << I->second;  | 

