Displaying 4 results from an estimated 4 matches for "amartinez76".
Did you mean:
amartinez
2012 Oct 31
1
[LLVMdev] Lifetime analysis of variables within a module
Hi all,
I'm looking for a LLVM method/class/strategy to know the lifetime of
every variable/value used in a given Module.
I want to know the variables that must be alive at the input and at the
end of every function call (and every BasicBlock).
By creating a pass inheriting from ModulePass I can reach up to here:
virtual bool runOnFunction(Function &F) {
...
for
2013 Feb 19
0
[LLVMdev] LLVM/Clang 3.1: Add a new include path in a clang C++ based parser
Hi,
I'm having troubles to add a custom include path to a clang based C++
parser.
I'd like to properly support this opencv code under Linux:
...
#include "cv.h"
#include "highgui.h"
...
This is what I'm using:
TheCompInst->getHeaderSearchOpts().AddPath(StringRef("/usr/include/opencv"),clang::frontend::Quoted
,false, true, false, false, false);
2013 Feb 19
0
[LLVMdev] LLVM/Clang 3.1: Add a new include path in a clang C++ based parser
Hi,
I'm having troubles to add a custom include path to a clang based C++
parser.
I'd like to properly support this opencv code under Linux:
...
#include "cv.h"
#include "highgui.h"
...
This is what I'm using:
TheCompInst->getHeaderSearchOpts().AddPath(StringRef("/usr/include/opencv"),clang::frontend::Quoted
,false, true, false, false, false);
[LLVMdev] Correct way to test if a declaration is within the scope of a namespace (anonymous or not)
2012 Nov 27
0
[LLVMdev] Correct way to test if a declaration is within the scope of a namespace (anonymous or not)
Hi all,
I'm trying to test if a declaration is within the scope of a namespace
(anonymous or not).
Actually I'm using this code to test this (it's just a hack I know).
What is the correct way to do this?
if (ND->getQualifiedNameAsString().find("::") != std::string::npos) {
ND is defined in a namespace
}
ND is a DeclaratorDeck*
Many thanks in advance.
Best