[cfe-commits] r113087 - in /cfe/trunk/lib/AST: Type.cpp TypePrinter.cpp
Chris Lattner
sabre at nondot.org
Sat Sep 4 16:37:43 PDT 2010
Author: lattner
Date: Sat Sep 4 18:37:43 2010
New Revision: 113087
URL: http://llvm.org/viewvc/llvm-project?rev=113087&view=rev
Log:
tidy up
Modified:
cfe/trunk/lib/AST/Type.cpp
cfe/trunk/lib/AST/TypePrinter.cpp
Modified: cfe/trunk/lib/AST/Type.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Type.cpp?rev=113087&r1=113086&r2=113087&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Type.cpp (original)
+++ cfe/trunk/lib/AST/Type.cpp Sat Sep 4 18:37:43 2010
@@ -1040,7 +1040,7 @@
}
/// LookThroughTypedefs - Return the ultimate type this typedef corresponds to
-/// potentially looking through *all* consequtive typedefs. This returns the
+/// potentially looking through *all* consecutive typedefs. This returns the
/// sum of the type qualifiers, so if you have:
/// typedef const int A;
/// typedef volatile A B;
Modified: cfe/trunk/lib/AST/TypePrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/TypePrinter.cpp?rev=113087&r1=113086&r2=113087&view=diff
==============================================================================
--- cfe/trunk/lib/AST/TypePrinter.cpp (original)
+++ cfe/trunk/lib/AST/TypePrinter.cpp Sat Sep 4 18:37:43 2010
@@ -91,8 +91,7 @@
S = T->getName(Policy.LangOpts);
} else {
// Prefix the basic type, e.g. 'int X'.
- S = ' ' + S;
- S = T->getName(Policy.LangOpts) + S;
+ S = T->getName(Policy.LangOpts) + ' ' + S;
}
}
More information about the cfe-commits
mailing list