diff options
author | Anubhab Ghosh <anubhabghosh.me@gmail.com> | 2023-03-06 16:50:02 +0530 |
---|---|---|
committer | Anubhab Ghosh <anubhabghosh.me@gmail.com> | 2023-05-27 13:54:42 +0530 |
commit | ddeab07ca63235f8d952e1171b56fdb0f2d761c9 (patch) | |
tree | 7f716c3bcef2f5189173d5759490e5b895f6f488 /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | fe01c084249969518bcd69aa2fedffc9f017f43a (diff) | |
download | llvm-ddeab07ca63235f8d952e1171b56fdb0f2d761c9.zip llvm-ddeab07ca63235f8d952e1171b56fdb0f2d761c9.tar.gz llvm-ddeab07ca63235f8d952e1171b56fdb0f2d761c9.tar.bz2 |
[clang-repl][CUDA] Re-land: Initial interactive CUDA support for clang-repl
CUDA support can be enabled in clang-repl with --cuda flag.
Device code linking is not yet supported. inline must be used with all
__device__ functions.
Differential Revision: https://reviews.llvm.org/D146389
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
-rw-r--r-- | clang/lib/CodeGen/ModuleBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/ModuleBuilder.cpp b/clang/lib/CodeGen/ModuleBuilder.cpp index e3e953c..3594f4c 100644 --- a/clang/lib/CodeGen/ModuleBuilder.cpp +++ b/clang/lib/CodeGen/ModuleBuilder.cpp @@ -36,7 +36,7 @@ namespace { IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS; // Only used for debug info. const HeaderSearchOptions &HeaderSearchOpts; // Only used for debug info. const PreprocessorOptions &PreprocessorOpts; // Only used for debug info. - const CodeGenOptions CodeGenOpts; // Intentionally copied in. + const CodeGenOptions &CodeGenOpts; unsigned HandlingTopLevelDecls; |