forked from OSchip/llvm-project
Reformat (and remove some tabs) to make debugging this code a
little easier to step through. llvm-svn: 228746
This commit is contained in:
parent
7f53bd5b8d
commit
f3e79e8714
|
@ -73,7 +73,7 @@ bool InlineAsm::ConstraintInfo::Parse(StringRef Str,
|
|||
unsigned multipleAlternativeCount = Str.count('|') + 1;
|
||||
unsigned multipleAlternativeIndex = 0;
|
||||
ConstraintCodeVector *pCodes = &Codes;
|
||||
|
||||
|
||||
// Initialize
|
||||
isMultipleAlternative = (multipleAlternativeCount > 1 ? true : false);
|
||||
if (isMultipleAlternative) {
|
||||
|
@ -99,12 +99,12 @@ bool InlineAsm::ConstraintInfo::Parse(StringRef Str,
|
|||
++I;
|
||||
Type = isOutput;
|
||||
}
|
||||
|
||||
|
||||
if (*I == '*') {
|
||||
isIndirect = true;
|
||||
++I;
|
||||
}
|
||||
|
||||
|
||||
if (I == E) return true; // Just a prefix, like "==" or "~".
|
||||
|
||||
// Parse the modifiers.
|
||||
|
@ -228,7 +228,10 @@ InlineAsm::ParseConstraints(StringRef Constraints) {
|
|||
I = ConstraintEnd;
|
||||
if (I != E) {
|
||||
++I;
|
||||
if (I == E) { Result.clear(); break; } // don't allow "xyz,"
|
||||
if (I == E) {
|
||||
Result.clear();
|
||||
break;
|
||||
} // don't allow "xyz,"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue