[PATCH] D125265: [OpenMP] Don't include the device wrappers if -nostdinc is used
Artem Belevich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 9 13:00:53 PDT 2022
tra added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:1311
if (JA.isDeviceOffloading(Action::OFK_OpenMP) &&
+ !Args.hasArg(options::OPT_nostdlib) &&
(getToolChain().getTriple().isNVPTX() ||
----------------
Did you mean `nostdinc` ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125265/new/
https://reviews.llvm.org/D125265
More information about the cfe-commits
mailing list