[PATCH] D79511: [ObjC] Add compatibility mode for type checking of qualified id block parameters.
Steven Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 2 10:25:53 PDT 2020
steven_wu added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/Darwin.cpp:2382
+ // Foundation/NSItemProvider.h.
+ CC1Args.push_back("-fcompatibility-qualified-id-block-type-checking");
}
----------------
Not that I know there is a better place to put this option, this is not really a ClangTarget option.
Putting this in `addClangTargetOptions` will put this onto codegen flags for `-fembed-bitcode`, but this is just a frontend option that doesn't affect code generation.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79511/new/
https://reviews.llvm.org/D79511
More information about the cfe-commits
mailing list