Skip to content

Commit 32693d9

Browse files
committed
[llvm-config] Sort options and update documentation. NFC.
This is a follow-up for #103397
1 parent 44df23a commit 32693d9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

llvm/docs/CommandGuide/llvm-config.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@ OPTIONS
126126

127127
Print the installation prefix for LLVM.
128128

129+
**--quote-paths**
130+
131+
Quote and escape paths when needed, most notably when a quote, space, backslash
132+
or dollar sign characters are present in the path.
133+
129134
**--shared-mode**
130135

131136
Print how the provided components can be collectively linked (`shared` or `static`).

llvm/tools/llvm-config/llvm-config.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,6 @@ Options:\n\
219219
--components List of all possible components.\n\
220220
--cppflags C preprocessor flags for files that include LLVM headers.\n\
221221
--cxxflags C++ compiler flags for files that include LLVM headers.\n\
222-
--quote-paths Quote and escape paths when needed.\n\
223222
--has-rtti Print whether or not LLVM was built with rtti (YES or NO).\n\
224223
--help Print a summary of llvm-config arguments.\n\
225224
--host-target Target triple used to configure LLVM.\n\
@@ -234,6 +233,7 @@ Options:\n\
234233
--link-static Link the component libraries statically.\n\
235234
--obj-root Print the object root used to build LLVM.\n\
236235
--prefix Print the installation prefix.\n\
236+
--quote-paths Quote and escape paths when needed.\n\
237237
--shared-mode Print how the provided components can be collectively linked (`shared` or `static`).\n\
238238
--system-libs System Libraries needed to link against LLVM components.\n\
239239
--targets-built List of all targets currently built.\n\

0 commit comments

Comments
 (0)