search for: getdiagnost

Displaying 3 results from an estimated 3 matches for "getdiagnost".

2013 Feb 19
0
[LLVMdev] LLVM/Clang 3.1: Add a new include path in a clang C++ based parser
...Path(StringRef("/usr/include/opencv"),clang::frontend::Quoted ,false, true, false, false, false); TheCompInst->createDiagnostics(0, 0); TargetOptions TO; TO.Triple = 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-&g...
2013 Feb 19
0
[LLVMdev] LLVM/Clang 3.1: Add a new include path in a clang C++ based parser
...Path(StringRef("/usr/include/opencv"),clang::frontend::Quoted ,false, true, false, false, false); TheCompInst->createDiagnostics(0, 0); TargetOptions TO; TO.Triple = 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-&g...
2015 Mar 11
3
[LLVMdev] DataLayout: Module vs Target
Hi all, The Language Reference says: "The function of the data layout string may not be what you expect. Notably, this is not a specification from the frontend of what alignment the code generator should use. Instead, if specified, the target data layout is required to match what the ultimate code generator expects. This string is used by the mid-level optimizers to improve code, and this