[clang] a74bc43 - Add a warning comment that this file is generated
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 12 05:11:05 PST 2023
Author: Aaron Ballman
Date: 2023-01-12T08:10:57-05:00
New Revision: a74bc436703057ab0f53ad78ab3f84227a45e37f
URL: https://github.com/llvm/llvm-project/commit/a74bc436703057ab0f53ad78ab3f84227a45e37f
DIFF: https://github.com/llvm/llvm-project/commit/a74bc436703057ab0f53ad78ab3f84227a45e37f.diff
LOG: Add a warning comment that this file is generated
This file is partially generated by a Python script in the
clang/docs/tools directory, but it's not obvious for people making
drive-by fixes. This comment hopefully helps people avoid making
changes that are later overwritten by the script.
Added:
Modified:
clang/docs/ClangFormatStyleOptions.rst
Removed:
################################################################################
diff --git a/clang/docs/ClangFormatStyleOptions.rst b/clang/docs/ClangFormatStyleOptions.rst
index 302069e96572..4bcf3bd0cb8e 100644
--- a/clang/docs/ClangFormatStyleOptions.rst
+++ b/clang/docs/ClangFormatStyleOptions.rst
@@ -1,3 +1,9 @@
+..
+ !!!!NOTE!!!!
+ This file is automatically generated, in part. Do not edit the style options
+ in this file directly. Instead, modify them in include/clang/Format/Format.h
+ and run the docs/tools/dump_format_style.py script to update this file.
+
.. raw:: html
<style type="text/css">
More information about the cfe-commits
mailing list