[llvm-commits] [llvm] r67288 - /llvm/trunk/lib/VMCore/AsmWriter.cpp
Nick Lewycky
nicholas at mxc.ca
Wed Mar 18 23:31:22 PDT 2009
Author: nicholas
Date: Thu Mar 19 01:31:22 2009
New Revision: 67288
URL: http://llvm.org/viewvc/llvm-project?rev=67288&view=rev
Log:
Fix a couple glaring whitespace issues. This file isn't internally consistent
either.
Modified:
llvm/trunk/lib/VMCore/AsmWriter.cpp
Modified: llvm/trunk/lib/VMCore/AsmWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/AsmWriter.cpp?rev=67288&r1=67287&r2=67288&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/AsmWriter.cpp (original)
+++ llvm/trunk/lib/VMCore/AsmWriter.cpp Thu Mar 19 01:31:22 2009
@@ -98,7 +98,7 @@
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 @@
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;
More information about the llvm-commits
mailing list