Skip to content

Commit e05c1b4

Browse files
authoredApr 3, 2024··
Reenable external categories (#87357)
Reenables b31414b. Also adds a new warning for missing `--symbol-graph-dir` arg when `--emit-extension-symbol-graphs` is provided. This also reverts the commit that removed.
1 parent 7c7ce0b commit e05c1b4

File tree

80 files changed

+3892
-8845
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+3892
-8845
lines changed
 

‎clang/include/clang/Basic/DiagnosticDriverKinds.td

+6
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,12 @@ def err_drv_extract_api_wrong_kind : Error<
548548
"header file '%0' input '%1' does not match the type of prior input "
549549
"in api extraction; use '-x %2' to override">;
550550

551+
def err_drv_missing_symbol_graph_dir: Error<
552+
"Must provide a symbol graph output directory using --symbol-graph-dir=<directory>">;
553+
554+
def err_drv_unexpected_symbol_graph_output : Error<
555+
"Unexpected output symbol graph '%1'; please provide --symbol-graph-dir=<directory> instead">;
556+
551557
def warn_slash_u_filename : Warning<"'/U%0' treated as the '/U' option">,
552558
InGroup<DiagGroup<"slash-u-filename">>;
553559
def note_use_dashdash : Note<

‎clang/include/clang/Basic/DiagnosticFrontendKinds.td

+4
Original file line numberDiff line numberDiff line change
@@ -366,4 +366,8 @@ def warn_profile_data_misexpect : Warning<
366366
def err_extract_api_ignores_file_not_found :
367367
Error<"file '%0' specified by '--extract-api-ignores=' not found">, DefaultFatal;
368368

369+
def warn_missing_symbol_graph_dir : Warning<
370+
"Missing symbol graph output directory, defaulting to working directory">,
371+
InGroup<ExtractAPIMisuse>;
372+
369373
}

0 commit comments

Comments
 (0)
Please sign in to comment.