mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-27 05:30:49 +00:00
Fix a couple glaring whitespace issues. This file isn't internally consistent
either. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67288 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9c0f146d50
commit
042348343e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user