Skip to content

Commit c84f9f9

Browse files
committed
Reformat
1 parent 2de74e1 commit c84f9f9

File tree

5 files changed

+14
-10
lines changed

5 files changed

+14
-10
lines changed

clang/utils/TableGen/ClangAttrEmitter.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3587,7 +3587,8 @@ void EmitClangAttrHasAttrImpl(RecordKeeper &Records, raw_ostream &OS) {
35873587

35883588
void EmitClangAttrSpellingListIndex(RecordKeeper &Records, raw_ostream &OS) {
35893589
emitSourceFileHeader("Code to translate different attribute spellings "
3590-
"into internal identifiers", OS);
3590+
"into internal identifiers",
3591+
OS);
35913592

35923593
OS << " switch (getParsedKind()) {\n";
35933594
OS << " case IgnoredAttribute:\n";
@@ -4680,8 +4681,7 @@ void EmitClangAttrNodeTraverse(RecordKeeper &Records, raw_ostream &OS) {
46804681
}
46814682
}
46824683

4683-
void EmitClangAttrParserStringSwitches(RecordKeeper &Records,
4684-
raw_ostream &OS) {
4684+
void EmitClangAttrParserStringSwitches(RecordKeeper &Records, raw_ostream &OS) {
46854685
emitSourceFileHeader("Parser-related llvm::StringSwitch cases", OS);
46864686
emitClangAttrArgContextList(Records, OS);
46874687
emitClangAttrIdentifierArgList(Records, OS);

clang/utils/TableGen/ClangCommentCommandInfoEmitter.cpp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@
2020

2121
using namespace llvm;
2222

23-
void clang::EmitClangCommentCommandInfo(RecordKeeper &Records, raw_ostream &OS) {
23+
void clang::EmitClangCommentCommandInfo(RecordKeeper &Records,
24+
raw_ostream &OS) {
2425
emitSourceFileHeader("A list of commands useable in documentation "
25-
"comments", OS);
26+
"comments",
27+
OS);
2628

2729
OS << "namespace {\n"
2830
"const CommandInfo Commands[] = {\n";
@@ -112,9 +114,11 @@ static std::string MangleName(StringRef Str) {
112114
return Mangled;
113115
}
114116

115-
void clang::EmitClangCommentCommandList(RecordKeeper &Records, raw_ostream &OS) {
117+
void clang::EmitClangCommentCommandList(RecordKeeper &Records,
118+
raw_ostream &OS) {
116119
emitSourceFileHeader("A list of commands useable in documentation "
117-
"comments", OS);
120+
"comments",
121+
OS);
118122

119123
OS << "#ifndef COMMENT_COMMAND\n"
120124
<< "# define COMMENT_COMMAND(NAME)\n"

clang/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ void clang::EmitClangCommentHTMLNamedCharacterReferences(RecordKeeper &Records,
7171
}
7272

7373
emitSourceFileHeader("HTML named character reference to UTF-8 "
74-
"translation", OS);
74+
"translation",
75+
OS);
7576

7677
OS << "StringRef translateHTMLNamedCharacterReferenceToUTF8(\n"
7778
" StringRef Name) {\n";

clang/utils/TableGen/ClangCommentHTMLTagsEmitter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,3 @@ void clang::EmitClangCommentHTMLTagsProperties(RecordKeeper &Records,
6161
OS << " return false;\n"
6262
<< "}\n\n";
6363
}
64-

llvm/lib/TableGen/TableGenBackend.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void llvm::emitSourceFileHeader(StringRef Desc, raw_ostream &OS) {
5555
} while (Pos < Desc.size());
5656
printLine(OS, Prefix, ' ', Suffix);
5757
printLine(OS, Prefix + "Automatically generated file, do not edit!", ' ',
58-
Suffix);
58+
Suffix);
5959
printLine(OS, Prefix, ' ', Suffix);
6060
printLine(OS, "\\*===", '-', "===*/");
6161
OS << '\n';

0 commit comments

Comments
 (0)