Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] clang and libclang: one more code-completion missing feature"
2012 Aug 16
1
[LLVMdev] Question on C++ code completion - function parameter list
Hello,
Using c-index-test.exe I'm learning clang code completion for C++.
I have an issue to get the current parameter list of a C++ function. While it works for a C function, I get nothing which can be evaluated in case of C++ function.
I use the following command line:
"c-index-test -code-completion-at=x.cpp:9:10 -x c++ -fsyntax-only -x.cpp"
Where:
- "9:10" is
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
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
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
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
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 27
0
[LLVMdev] libclang issue: CXCursor_FunctionTemplate does it work?
Hi,
I'm a happy user of libclang.so
I got in trouble trying to get info from templated function such as
/* File: t.cc */
template <class T1,class T2>
void my_foo(T1 a,T2 b)
{
}
I only got CXCursor_FunctionDecl cursor instead of CXCursor_FunctionTemplate
and I don't getting CXCursor_TemplateTypeParameter.
And argument type is Unexposed.
I using 3.1 version with few patches.
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
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
2006 Nov 23
0
[754] trunk/wxruby2/samples/bigdemo: Rubified samples and added in missing client data sample code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
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
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
2015 Jul 08
2
[LLVMdev] [cfe-dev] Building clang + libc++ + libc++abi
If your cut-n-paste is accurate, you seem to be missing a closing quote for
CMAKE_CXX_LINK_FLAGS.
hth...
don
On Jul 8, 2015 2:22 AM, "David A. Greene" <greened at obbligato.org> wrote:
> greened at obbligato.org (David A. Greene) writes:
>
> > I looked at the instructions on the libc++ page and for Linux it
> > recommends building with -stdlib=libc++ -lc++abi.
2016 Oct 21
4
llvm build failed on Fedora 24
Hi,
I'm try to build llvm on my PC but it failed. I'm using following command,
$ cmake -G "Ninja" ../llvm -DCMAKE_INSTALL_PREFIX=prefix=$INSTALL_PATH
-DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=On
$ ninja-build -j 2
I have skipped libcxx and libcxxabi package.
It shows below error,
00:04:23 [3261/3430] Building CXX object
2012 Jun 25
0
[LLVMdev] [PATCH] cindex.py using find_library
On 06/25/2012 12:50 AM, Mihai Basa wrote:
> Hello all,
>
> Is there a reason why the library location code in cindex py does not
> use find_library() to locate libclang, like in the attached patch?
>
> Without it there were problems locating a versioned libclang.so.1 file
> on Debian, for example.
Hi Mihai,
as this is a clang related question, I move your mail to the clang
2024 Jan 02
1
help installing R on Linux Mint 21.2
Could you direct me to a newbie-friendly instructions for installing
the latest versions of R and RStudio on Linux Mint 21.2? I followed
instructions I could find, but no luck with managing to get RStudio
(tho I did install R).
System:
Kernel: 6.2.0-39-generic x86_64 bits: 64 compiler: N/A Desktop: MATE
1.26.0
Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
I was able to install
2011 Oct 24
1
[LLVMdev] build warnings
On Sun, Oct 23, 2011 at 10:34 PM, James Molloy wrote:
> Hi,
>
> I haven't seen those errors. Clang and LLVM both build with no warnings on the 3 versions of GCC I test with. MSVC reports loads of warnings however.
>
$ make happiness
...
Updated to revision 142790.
...
make[4]: Entering directory
`/home/ecsardu/LLVM/build-tcclab1/tools/clang/tools/libclang'
llvm[4]: Compiling