Skip to content

Commit 4cb2730

Browse files
committed
Update comments & logs
1 parent 67a5679 commit 4cb2730

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

clang-tools-extra/clangd/Config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ struct Config {
6767
Edits;
6868
/// Where to search for compilation databases for this file's flags.
6969
CDBSearchSpec CDBSearch = {CDBSearchSpec::Ancestors, std::nullopt};
70+
71+
/// Whether to use clangd's own builtin headers, or ones from the system
72+
/// include extractor, if available.
7073
BuiltinHeaderPolicy BuiltinHeaders = BuiltinHeaderPolicy::Clangd;
7174
} CompileFlags;
7275

clang-tools-extra/clangd/SystemIncludeExtractor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ extractSystemIncludesAndTarget(const DriverArgs &InputArgs,
424424
break;
425425
}
426426
case Config::BuiltinHeaderPolicy::QueryDriver:
427-
vlog("System includes extractor: builtin headers from query driver");
427+
vlog("System includes extractor: Using builtin headers from query driver.");
428428
break;
429429
}
430430

clang-tools-extra/docs/ReleaseNotes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ Semantic Highlighting
5858
Compile flags
5959
^^^^^^^^^^^^^
6060

61-
- Added `BuiltinHeaders` which controls if system includes are extracted from
62-
Clangd or solely from the QueryDriver.
61+
- Added `BuiltinHeaders` config key which controls if system includes are
62+
extracted from clangd or solely from the query driver.
6363

6464
Hover
6565
^^^^^

0 commit comments

Comments
 (0)