Improve wording of newline handling.
authorJoerg Sonnenberger <joerg@bec.de>
Fri, 13 Mar 2015 19:05:24 +0000 (19:05 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Fri, 13 Mar 2015 19:05:24 +0000 (19:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232195 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/Module.h

index 932acb52b5e54a8afcbb97ec90b5407464894bed..698e8747495d74035415edd9d1ad5102480d60b0 100644 (file)
@@ -294,6 +294,7 @@ public:
   void setTargetTriple(StringRef T) { TargetTriple = T; }
 
   /// Set the module-scope inline assembly blocks.
+  /// A trailing newline is added if the input doesn't have one.
   void setModuleInlineAsm(StringRef Asm) {
     GlobalScopeAsm = Asm;
     if (!GlobalScopeAsm.empty() &&
@@ -301,8 +302,8 @@ public:
       GlobalScopeAsm += '\n';
   }
 
-  /// Append to the module-scope inline assembly blocks, automatically inserting
-  /// a separating newline if necessary.
+  /// Append to the module-scope inline assembly blocks.
+  /// A trailing newline is added if the input doesn't have one.
   void appendModuleInlineAsm(StringRef Asm) {
     GlobalScopeAsm += Asm;
     if (!GlobalScopeAsm.empty() &&