mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 04:50:28 +00:00
Tweak the name for the function that diagnoses when fuzzing external libraries (#5974)
The old function name caused some confusion during the review of #5338, sending this to see if it provides a less surprising function name and boolean result. Happy to try other names / approaches as well.
This commit is contained in:
1 parent
223d0397c0
commit
046fbbcb29
6 files changed
+12
-13
No files matched your search
@@ -923,7 +923,7 @@ auto CompileSubcommand::Run(DriverEnv& driver_env) -> DriverResult {
|
||||
if (driver_env.fuzzing && !options_.clang_args.empty()) {
|
||||
// Parsing specific Clang arguments can reach deep into
|
||||
// external libraries that aren't fuzz clean.
|
||||
DisableFuzzingExternalLibraries(driver_env, "compile");
|
||||
TestAndDiagnoseIfFuzzingExternalLibraries(driver_env, "compile");
|
||||
return {.success = false};
|
||||
}
|
||||
for (auto str : options_.clang_args) {
|
||||
|
||||
Reference in new issue
Block a user