Displaying 2 results from an estimated 2 matches for "createsourcemanager".
2013 Feb 19
0
[LLVMdev] LLVM/Clang 3.1: Add a new include path in a clang C++ based parser
...ple = llvm::sys::getDefaultTargetTriple();
TargetInfo *TI =
TargetInfo::CreateTargetInfo(TheCompInst->getDiagnostics(), TO);
TheCompInst->setTarget(TI);
TheCompInst->createFileManager();
FileManager &FileMgr = TheCompInst->getFileManager();
TheCompInst->createSourceManager(FileMgr);
SourceManager &SourceMgr = TheCompInst->getSourceManager();
TheCompInst->createPreprocessor();
TheCompInst->createASTContext();
Rewriter TheRewriter;
TheRewriter.setSourceMgr(SourceMgr, TheCompInst->getLangOpts());
...
--
======================...
2013 Feb 19
0
[LLVMdev] LLVM/Clang 3.1: Add a new include path in a clang C++ based parser
...ple = llvm::sys::getDefaultTargetTriple();
TargetInfo *TI =
TargetInfo::CreateTargetInfo(TheCompInst->getDiagnostics(), TO);
TheCompInst->setTarget(TI);
TheCompInst->createFileManager();
FileManager &FileMgr = TheCompInst->getFileManager();
TheCompInst->createSourceManager(FileMgr);
SourceManager &SourceMgr = TheCompInst->getSourceManager();
TheCompInst->createPreprocessor();
TheCompInst->createASTContext();
Rewriter TheRewriter;
TheRewriter.setSourceMgr(SourceMgr, TheCompInst->getLangOpts());
...
--
======================...