Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
llvm-doe
llvm-project
Commits
e6d8ab18
Commit
e6d8ab18
authored
Feb 04, 2021
by
Michael Kruse
Browse files
polly-update-format
parent
b2ad3773
Changes
1
Hide whitespace changes
Inline
Side-by-side
clang/utils/TableGen/ClangAttrEmitter.cpp
View file @
e6d8ab18
...
...
@@ -1477,13 +1477,13 @@ writePrettyPrintFunction(const Record &R,
Spelling
+=
Name
;
OS
<<
" case "
<<
I
<<
" : {
\n
"
;
if
(
Variety
==
"Pragma"
)
{
OS
<<
" OS <<
\"
"
<<
Prefix
;
if
(
PrettyPrintSpelling
)
OS
<<
Spelling
;
OS
<<
"
\"
;
\n
"
;
OS
<<
"
\"
;
\n
"
;
OS
<<
" printPrettyPragma(OS, Policy);
\n
"
;
OS
<<
" OS <<
\"\\
n
\"
;"
;
OS
<<
" break;
\n
"
;
...
...
@@ -1492,7 +1492,7 @@ writePrettyPrintFunction(const Record &R,
}
OS
<<
" OS <<
\"
"
<<
Prefix
<<
Spelling
<<
"
\"
;
\n
"
;
if
(
Spelling
==
"availability"
)
{
OS
<<
" OS <<
\"
("
;
writeAvailabilityValue
(
OS
);
...
...
@@ -2600,7 +2600,7 @@ static void emitAttributes(RecordKeeper &Records, raw_ostream &OS,
auto
PrettyPrintSpelling
=
Attr
->
getValueAsBit
(
"PrettyPrintSpelling"
);
writePrettyPrintFunction
(
R
,
Args
,
OS
,
PrettyPrintSpelling
);
writeGetSpellingFunction
(
R
,
OS
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment