similar to: [LLVMdev] libclang issue: CXCursor_FunctionTemplate does it work?

Displaying 20 results from an estimated 800 matches similar to: "[LLVMdev] libclang issue: CXCursor_FunctionTemplate does it work?"

2006 Apr 04
1
Manipulating has_many :through associations
Hi, I haven''t done any associations before, so please forgive my incorrect use of terminology... If I set up a has_many :through association, can I manipulate the associated instances directly (like an Array), or do I need to manipulate the join model? For example, suppose I have two classes and the associated join model: class foo has_many :foo_bars has_many :bars, :through
2012 Sep 13
1
[LLVMdev] Parsing C++ template parameters using cindex.py
Hi, I am parsing a C++ file using cindex.py and want to get the template parameters to a specific node. However, the tree seems to be different depending on if the template parameter is a struct/class or a simple type such as int or float. In the first case the template type is appended as a child to the VAR_DECL node (the TYPE_REF node seen in the example below), but this is not the case with
2012 Jul 17
1
Stats question: Comparison of the same individuals during two exposure times
Hi, I'm hoping that someone will be able to help. I would like to compare how covariates associate with the risk of a binary outcome during two periods. Period 1 will be non-exposure to a treatment and period 2 will be exposure to a treatment. The same individuals will be examined in each group but I want to be able to compare the association of certain covariates between the two groups to
2019 Jun 25
2
Is there a C++ API for libclang to have full access to the AST ?
Hi everyone, i want to use libclang to create my own AST and use a node system like houdini is using to write own programms with a graphical interface. But libclang does not give full access to the AST - i need to build my own AST and need full access. Since there are no books about libclang i hope someone here can point me in the right direction... best regards, Steven Truppe
2013 May 22
0
[LLVMdev] Linking Debug+Asserts Shared Library libclang.so: final link failed: Bad value
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Raghavendra K > Subject: [LLVMdev] Linking Debug+Asserts Shared Library libclang.so: final link failed: Bad value > llvm[4]: Linking Debug+Asserts Shared Library libclang.so > /usr/lib64/gcc/x86_64-suse-linux/4.1.2 You might want to consider trying a version of gcc that's less than six
2013 May 22
2
[LLVMdev] Linking Debug+Asserts Shared Library libclang.so: final link failed: Bad value
Hi, I downloaded latest 3.2 release of llvm and clang. used configure to generate the make files options used: ../configure --enable-debug-symbols=yes --enable-keep-symbols=yes --enable-pic=yes --enable-keep-symbols=yes --enable-debug-runtime=yes --enable-optimized=no --enable-targets=x86 --enable-embed-stdcxx=yes --enable-jit=no CXXFLAGS=-fPIC CFLAGS=-fPIC Now i get this strange error,cannot
2012 Aug 16
0
[LLVMdev] libclang parsing bug
The bug number is 13619. Oh, apparently it crashes if you substitute "reinterpret_cast" with "static_cast" or "dynamic_cast" as well. > > Hey everyone, > > > > first of all I just wanted to say thanks :) I've been using libclang for > building my own C/C++ IDE and its great. I have, however discovered a bug > (which I already submitted
2012 Aug 16
2
[LLVMdev] libclang parsing bug
Hey everyone, first of all I just wanted to say thanks :) I've been using libclang for building my own C/C++ IDE and its great. I have, however discovered a bug (which I already submitted on llvm bugzilla but I got the impression that no one reads that :)). If I try to use clang_parseTranslationUnit on this code below: int main() { return reinterpret_cast libclang crashes. This is the code
2018 Apr 17
0
Can the LLVM-Win32/Win64 release libclang.dll conatins the exported llvm-c functions along with clang-c's?
So we can using FFI to talk with libclang.dll without compiling LLVM under Win32. -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180417/8eb752d1/attachment.html>
2012 Nov 30
0
[LLVMdev] clang and libclang: one more code-completion missing feature
Hello. I guess I found one more missing feature in clang/libclang code-completion, it relates to functions with defaulted arguments. In the clang docs for clang API Documentation <http://goo.gl/UYOmL> there is one example: void f(int x, float y = 3.14, double z = 2.71828); The code-completion string for this function would contain: - a TypedText chunk for "f". - a
2012 Aug 20
0
[LLVMdev] Optimal settings for parsing and reparsing the translation unit in libclang
On Aug 19, 2012, at 18:11, Klemen Forstneric <brucewayne97 at gmail.com> wrote: > Hey everyone! > > I'm having trouble finding the optimal performance settings for parsing/reparsing the translation unit. At this moment I'm using CXTranslationUnit_None for both parsing and reparsing the translation unit, because it seems that as soon as I turn on default settings for
2012 Aug 20
1
[LLVMdev] Optimal settings for parsing and reparsing the translation unit in libclang
Nope, I parse the first time, and then reparse everytime something changes in my text buffer (because I syntax color based on what libclang gives me). And it worked fine (and fast) with clang_defaultEditingTranslationUnitOptions for clang_parseTranslationUnit and clang_defaultReparseOptions for clang_reparseTranslationUnit. Until I saw that clang_codeCompleteAt doesnt work with anything else than
2013 Dec 12
0
[LLVMdev] [libclang] Python bindings bug.
I noticed that the tokens returned from a cursor pointing to a macro change if there is a typedef following a macro. How do I go about submiting a bug against this? import clang.cindex as cindex from clang.util import get_cursor,get_cursors t = cindex.TranslationUnit options=t.PARSE_DETAILED_PROCESSING_RECORD | t.PARSE_PRECOMPILED_PREAMBLE src1 =""" #define TEST 5
2013 Jul 22
0
[LLVMdev] Libclang get class name from DeclRefExpr
Hi guys, I am trying to extract the class name of a parameter to a method call in objective-C. The code I am parsing is: - (void)testAddConcreteDataModel:(DFDemoDataModelOne*)helpmeh { [self.dataModels addObject:helpmeh]; } And the result I need is the type of class of helpmeh, which is "DFDemoDataModelOne". So far I have the following code, which outputs:
2012 Aug 19
2
[LLVMdev] Optimal settings for parsing and reparsing the translation unit in libclang
Hey everyone! I'm having trouble finding the optimal performance settings for parsing/reparsing the translation unit. At this moment I'm using CXTranslationUnit_None for both parsing and reparsing the translation unit, because it seems that as soon as I turn on default settings for parse/reparse (clang_defaultEditingTranslationUnitOptions and clang_defaultReparseOptions respectively) code
2013 Oct 03
0
[LLVMdev] libclang JIT frontend
Hi, I'm not sure if this is a libclang, llvm::cl or clang-interpreter issue so I'll try posting here for a response. I am using libclang as a frontend to the LLVM JIT (3.3 release). I started from the clang-interpreter example and have everything working (given a C/C++ source file I can have it JIT'd to memory and executed) for a single run. When I try to compile a second source
2011 Jun 14
0
[LLVMdev] Reading Instructions from Ocaml
On Mon, Jun 13, 2011 at 12:09 PM, Gregory Malecha <gmalecha at gmail.com> wrote: > Hello, Hello Gregory, > I'm interested in the OCaml bindings, but I've been digging through them and > it doesn't seem possible to actually write a transformation with them. > Specifically, there are a lot of functions to build each type of > instruction, but there doesn't seem
2012 Apr 29
1
Specifying special poisson maximum likelihood
Hi everyone I am stuck on specifying my own maximum likelihood function for a special poisson model. My poisson model is as follow: O ~ Pois(b*N + b*RR*E) With O = observed cases b = constant (known) N = number of unexposed persons (known) E = number exposed persons (known) RR = relative risk (value is assumed under a scenario, e.g. RR=2.0) I used rpois to simulate the values of O for several
2007 Jun 22
0
Using through with habtm
I have two models with an habtm relationship: Foo has_and_belongs_to_many Bars (and vice-versa, obviously). Let''s say Bar has_many Bazs (how the heck do you pluralize Baz?). It would be nice to be able to say that Foo has_many Bazs through => Bar, but this does not seem to work. Am I right, or should it be possible to do this? The best I have been able to do is this: bazs =
2008 Nov 03
0
No subject
are internal structures, unexposed to the end-user as you suggest. For me, a seekpoint describes an offset in the audio file, and enables any player to jump to instantly jump to that position. For instance, if you pack up an a collection of audio tracks into a single FLAC file, there is a strong need for seeking ! It is common, typically in classical music, to have up to 40 tracks on a single CD