From: Eric Christopher Date: Tue, 10 Feb 2015 21:15:06 +0000 (+0000) Subject: Reformat (and remove some tabs) to make debugging this code a X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=beded8f64d6a06a61d514a2dae21c1882574e90f;p=oota-llvm.git Reformat (and remove some tabs) to make debugging this code a little easier to step through. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228746 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/IR/InlineAsm.cpp b/lib/IR/InlineAsm.cpp index 16d874f32fc..5b73561c503 100644 --- a/lib/IR/InlineAsm.cpp +++ b/lib/IR/InlineAsm.cpp @@ -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," } }