Fix some tabbing issues.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28237 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson 2006-05-12 06:06:55 +00:00
parent 647c15e58e
commit 571a13f3e7

View File

@ -140,45 +140,45 @@ TargetData::TargetData(const std::string &TargetName,
switch(token[0]) { switch(token[0]) {
case 'E': case 'E':
LittleEndian = false; LittleEndian = false;
break; break;
case 'e': case 'e':
LittleEndian = true; LittleEndian = true;
break; break;
case 'p': case 'p':
PointerSize = atoi(getToken(token,":").c_str()) / 8; PointerSize = atoi(getToken(token,":").c_str()) / 8;
PointerAlignment = atoi(getToken(token,":").c_str()) / 8; PointerAlignment = atoi(getToken(token,":").c_str()) / 8;
break; break;
case 'd': case 'd':
token = getToken(token,":"); //Ignore the size token = getToken(token,":"); //Ignore the size
DoubleAlignment = atoi(getToken(token,":").c_str()) / 8; DoubleAlignment = atoi(getToken(token,":").c_str()) / 8;
break; break;
case 'f': case 'f':
token = getToken(token, ":"); //Ignore the size token = getToken(token, ":"); //Ignore the size
FloatAlignment = atoi(getToken(token, ":").c_str()) / 8; FloatAlignment = atoi(getToken(token, ":").c_str()) / 8;
break; break;
case 'l': case 'l':
token = getToken(token, ":"); //Ignore the size token = getToken(token, ":"); //Ignore the size
LongAlignment = atoi(getToken(token, ":").c_str()) / 8; LongAlignment = atoi(getToken(token, ":").c_str()) / 8;
break; break;
case 'i': case 'i':
token = getToken(token, ":"); //Ignore the size token = getToken(token, ":"); //Ignore the size
IntAlignment = atoi(getToken(token, ":").c_str()) / 8; IntAlignment = atoi(getToken(token, ":").c_str()) / 8;
break; break;
case 's': case 's':
token = getToken(token, ":"); //Ignore the size token = getToken(token, ":"); //Ignore the size
ShortAlignment = atoi(getToken(token, ":").c_str()) / 8; ShortAlignment = atoi(getToken(token, ":").c_str()) / 8;
break; break;
case 'b': case 'b':
token = getToken(token, ":"); //Ignore the size token = getToken(token, ":"); //Ignore the size
ByteAlignment = atoi(getToken(token, ":").c_str()) / 8; ByteAlignment = atoi(getToken(token, ":").c_str()) / 8;
break; break;
case 'B': case 'B':
token = getToken(token, ":"); //Ignore the size token = getToken(token, ":"); //Ignore the size
BoolAlignment = atoi(getToken(token, ":").c_str()) / 8; BoolAlignment = atoi(getToken(token, ":").c_str()) / 8;
break; break;
default: default:
break; break;
} }
} }
} }