[LLVMdev] How can I get a copy of CompilerInstance, Sema and ASTContext ?

Bo wb_llvm at 163.com
Sun Mar 15 03:35:27 PDT 2015

Hi all,
    I want to copy the value of ASTContext to a global variable, in function clang::ParseAST(Sema &S, bool PrintStats, bool SkipFunctionBodies). But the operator = is  defined as LLVM_DELETED_FUNCTION, so how can I realize the assignment ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150315/d719dcaf/attachment.html>

More information about the llvm-dev mailing list