[PATCH] D12917: [CUDA] Allow parsing of host and device code simultaneously.
Artem Belevich via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 17 13:40:02 PDT 2015
tra marked 2 inline comments as done.
================
Comment at: lib/Frontend/CompilerInstance.cpp:82-87
@@ -84,6 +81,8 @@
+void CompilerInstance::setTarget(TargetInfo *Value) { Target = Value; }
+void CompilerInstance::setAuxTarget(TargetInfo *Value) { AuxTarget = Value; }
void CompilerInstance::setFileManager(FileManager *Value) {
FileMgr = Value;
if (Value)
VirtualFileSystem = Value->getVirtualFileSystem();
else
----------------
Added separate setter method for AuxTarget and moved TargetInfo creation to CompilerInstance::ExecuteAction as you've suggested.
http://reviews.llvm.org/D12917
More information about the cfe-commits
mailing list