diff options
author | Anubhab Ghosh <anubhabghosh.me@gmail.com> | 2023-05-20 14:40:04 +0530 |
---|---|---|
committer | Anubhab Ghosh <anubhabghosh.me@gmail.com> | 2023-05-20 14:40:04 +0530 |
commit | 0929f5b90350aa2f9175d7e1094b1750535c0e44 (patch) | |
tree | 76680b1fbff8aeec15af29b04714992727c03b3f /clang/lib/CodeGen/CodeGenAction.cpp | |
parent | 80e7eed6a610ab3c7289e6f9b7ec006bc7d7ae31 (diff) | |
download | llvm-0929f5b90350aa2f9175d7e1094b1750535c0e44.zip llvm-0929f5b90350aa2f9175d7e1094b1750535c0e44.tar.gz llvm-0929f5b90350aa2f9175d7e1094b1750535c0e44.tar.bz2 |
Revert "[clang-repl][CUDA] Initial interactive CUDA support for clang-repl"
This reverts commit 80e7eed6a610ab3c7289e6f9b7ec006bc7d7ae31.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenAction.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenAction.cpp b/clang/lib/CodeGen/CodeGenAction.cpp index 784ff77..29adf88 100644 --- a/clang/lib/CodeGen/CodeGenAction.cpp +++ b/clang/lib/CodeGen/CodeGenAction.cpp @@ -264,7 +264,6 @@ namespace clang { // Links each entry in LinkModules into our module. Returns true on error. bool LinkInModules() { for (auto &LM : LinkModules) { - assert(LM.Module && "LinkModule does not actually have a module"); if (LM.PropagateAttrs) for (Function &F : *LM.Module) { // Skip intrinsics. Keep consistent with how intrinsics are created @@ -294,7 +293,6 @@ namespace clang { if (Err) return true; } - LinkModules.clear(); return false; // success } |