Skip to content

Commit b75d0ca

Browse files
author
Jim Grosbach
committed
A few 80 column cleanups
llvm-svn: 116069
1 parent 2f0be8f commit b75d0ca

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

llvm/utils/TableGen/ARMDecoderEmitter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ void FilterChooser::emitTop(raw_ostream &o, unsigned &Indentation) {
801801

802802
o << '\n';
803803

804-
o.indent(Indentation) << "static uint16_t decodeInstruction(field_t insn) {\n";
804+
o.indent(Indentation) <<"static uint16_t decodeInstruction(field_t insn) {\n";
805805

806806
++Indentation; ++Indentation;
807807
// Emits code to decode the instructions.

llvm/utils/TableGen/AsmMatcherEmitter.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1562,7 +1562,8 @@ void AsmMatcherEmitter::run(raw_ostream &OS) {
15621562
OS << " Match_Success, Match_MnemonicFail, Match_InvalidOperand,\n";
15631563
OS << " Match_MissingFeature\n";
15641564
OS << " };\n";
1565-
OS << " MatchResultTy MatchInstructionImpl(const SmallVectorImpl<MCParsedAsmOperand*>"
1565+
OS << " MatchResultTy MatchInstructionImpl(const "
1566+
<< "SmallVectorImpl<MCParsedAsmOperand*>"
15661567
<< " &Operands, MCInst &Inst, unsigned &ErrorInfo);\n\n";
15671568
OS << "#endif // GET_ASSEMBLER_HEADER_INFO\n\n";
15681569

llvm/utils/TableGen/ClangAttrEmitter.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919

2020
using namespace llvm;
2121

22-
static const std::vector<StringRef> getValueAsListOfStrings(Record &R,
23-
StringRef FieldName) {
22+
static const std::vector<StringRef>
23+
getValueAsListOfStrings(Record &R, StringRef FieldName) {
2424
ListInit *List = R.getValueAsListInit(FieldName);
2525
assert (List && "Got a null ListInit");
2626

@@ -171,7 +171,8 @@ namespace {
171171
OS << "char *" << getLowerName() << ";";
172172
}
173173
void writePCHReadDecls(raw_ostream &OS) const {
174-
OS << " std::string " << getLowerName() << "= ReadString(Record, Idx);\n";
174+
OS << " std::string " << getLowerName()
175+
<< "= ReadString(Record, Idx);\n";
175176
}
176177
void writePCHReadArgs(raw_ostream &OS) const {
177178
OS << getLowerName();

llvm/utils/TableGen/CodeGenDAGPatterns.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -479,8 +479,8 @@ void DumpDepVars(MultipleUseVarSet &DepVars) {
479479
DEBUG(errs() << "<empty set>");
480480
} else {
481481
DEBUG(errs() << "[ ");
482-
for (MultipleUseVarSet::const_iterator i = DepVars.begin(), e = DepVars.end();
483-
i != e; ++i) {
482+
for (MultipleUseVarSet::const_iterator i = DepVars.begin(),
483+
e = DepVars.end(); i != e; ++i) {
484484
DEBUG(errs() << (*i) << " ");
485485
}
486486
DEBUG(errs() << "]");
@@ -2973,7 +2973,8 @@ void CodeGenDAGPatterns::GenerateVariants() {
29732973
DEBUG(errs() << "Dependent/multiply used variables: ");
29742974
DEBUG(DumpDepVars(DepVars));
29752975
DEBUG(errs() << "\n");
2976-
GenerateVariantsOf(PatternsToMatch[i].getSrcPattern(), Variants, *this, DepVars);
2976+
GenerateVariantsOf(PatternsToMatch[i].getSrcPattern(), Variants, *this,
2977+
DepVars);
29772978

29782979
assert(!Variants.empty() && "Must create at least original variant!");
29792980
Variants.erase(Variants.begin()); // Remove the original pattern.
@@ -3000,7 +3001,8 @@ void CodeGenDAGPatterns::GenerateVariants() {
30003001
PatternsToMatch[p].getPredicates())
30013002
continue;
30023003
// Check to see if this variant already exists.
3003-
if (Variant->isIsomorphicTo(PatternsToMatch[p].getSrcPattern(), DepVars)) {
3004+
if (Variant->isIsomorphicTo(PatternsToMatch[p].getSrcPattern(),
3005+
DepVars)) {
30043006
DEBUG(errs() << " *** ALREADY EXISTS, ignoring variant.\n");
30053007
AlreadyExists = true;
30063008
break;

0 commit comments

Comments
 (0)