From ea07f34afd17c3547e93d109adcf28c245a95cc9 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 12 Dec 2011 22:45:35 +0000 Subject: llvm-build: Add sketchy support for preserving comments when using --write-llvmbuild. llvm-svn: 146434 --- llvm/docs/CommandGuide/llvm-build.pod | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'llvm/docs/CommandGuide/llvm-build.pod') 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 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 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 files. =item B<--write-cmake-fragment> -- cgit v1.2.3