mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-12 17:25:49 +00:00
Improve wording of newline handling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232195 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -294,6 +294,7 @@ public:
|
|||||||
void setTargetTriple(StringRef T) { TargetTriple = T; }
|
void setTargetTriple(StringRef T) { TargetTriple = T; }
|
||||||
|
|
||||||
/// Set the module-scope inline assembly blocks.
|
/// Set the module-scope inline assembly blocks.
|
||||||
|
/// A trailing newline is added if the input doesn't have one.
|
||||||
void setModuleInlineAsm(StringRef Asm) {
|
void setModuleInlineAsm(StringRef Asm) {
|
||||||
GlobalScopeAsm = Asm;
|
GlobalScopeAsm = Asm;
|
||||||
if (!GlobalScopeAsm.empty() &&
|
if (!GlobalScopeAsm.empty() &&
|
||||||
@@ -301,8 +302,8 @@ public:
|
|||||||
GlobalScopeAsm += '\n';
|
GlobalScopeAsm += '\n';
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Append to the module-scope inline assembly blocks, automatically inserting
|
/// Append to the module-scope inline assembly blocks.
|
||||||
/// a separating newline if necessary.
|
/// A trailing newline is added if the input doesn't have one.
|
||||||
void appendModuleInlineAsm(StringRef Asm) {
|
void appendModuleInlineAsm(StringRef Asm) {
|
||||||
GlobalScopeAsm += Asm;
|
GlobalScopeAsm += Asm;
|
||||||
if (!GlobalScopeAsm.empty() &&
|
if (!GlobalScopeAsm.empty() &&
|
||||||
|
Reference in New Issue
Block a user