Skip to content

Commit b061d3b

Browse files
committedApr 3, 2024
Reenable external categories (llvm#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.

File tree

78 files changed

+3852
-8531
lines changed

Some content is hidden

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

78 files changed

+3852
-8531
lines changed
 

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

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

524+
def err_drv_missing_symbol_graph_dir: Error<
525+
"Must provide a symbol graph output directory using --symbol-graph-dir=<directory>">;
526+
527+
def err_drv_unexpected_symbol_graph_output : Error<
528+
"Unexpected output symbol graph '%1'; please provide --symbol-graph-dir=<directory> instead">;
529+
524530
def warn_slash_u_filename : Warning<"'/U%0' treated as the '/U' option">,
525531
InGroup<DiagGroup<"slash-u-filename">>;
526532
def note_use_dashdash : Note<

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

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

363+
def warn_missing_symbol_graph_dir : Warning<
364+
"Missing symbol graph output directory, defaulting to working directory">,
365+
InGroup<ExtractAPIMisuse>;
366+
363367
}

0 commit comments

Comments
 (0)
Please sign in to comment.