summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-12-12 22:45:35 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-12-12 22:45:35 +0000
commitea07f34afd17c3547e93d109adcf28c245a95cc9 (patch)
treeffd06d650f7594d2274beeef54fce10b2b9c3bed /llvm/docs/CommandGuide
parent9e5908ae3af7f2e347917ae948c3ff38aa38b12f (diff)
downloadbcm5719-llvm-ea07f34afd17c3547e93d109adcf28c245a95cc9.tar.gz
bcm5719-llvm-ea07f34afd17c3547e93d109adcf28c245a95cc9.zip
llvm-build: Add sketchy support for preserving comments when using
--write-llvmbuild. llvm-svn: 146434
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r--llvm/docs/CommandGuide/llvm-build.pod5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/docs/CommandGuide/llvm-build.pod b/llvm/docs/CommandGuide/llvm-build.pod
index 78648ba71e8..14e08cb6299 100644
--- a/llvm/docs/CommandGuide/llvm-build.pod
+++ b/llvm/docs/CommandGuide/llvm-build.pod
@@ -46,7 +46,10 @@ component combinations.
=item B<--write-llvmbuild>
Write out new I<LLVMBuild.txt> files based on the loaded components. This is
-useful for auto-upgrading the schema of the files.
+useful for auto-upgrading the schema of the files. B<llvm-build> will try to a
+limited extent to preserve the comments which were written in the original
+source file, although at this time it only preserves block comments that preceed
+the section names in the I<LLVMBuild> files.
=item B<--write-cmake-fragment>
OpenPOWER on IntegriCloud