similar to: [LLVMdev] libclang parsing bug

Displaying 20 results from an estimated 1200 matches similar to: "[LLVMdev] libclang parsing bug"

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 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
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
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 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 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 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
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
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.
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
2011 Oct 12
1
[LLVMdev] [llvm-commits] [llvm] r139934 - in /llvm/trunk: autoconf/configure.ac configure
This CL is probably apropos to the issue described below.. We here in the PNaCL team are building llvm+clang using a specially bootstrapped version of llvm-gcc. Unfortunately, the configure is picking up system clang even though we force set CC and CXX during the configure process. llvm[2]: Compiling CommandLine.cpp for Release+Asserts build if clang++ -I<LLVMSRC>/include
2012 Jun 05
0
[LLVMdev] CrashRecoveryContext on Windows
By default, calls to abort() in the MS CRT do not trigger an exception and forcefully terminate the process, making CrashRecoveryContext not very useful on Windows for catching abort(), and consequently, assert(). One solution is to create a custom abort() handler that calls RaiseException(), which will be caught by the handler in CrashRecoveryContext. The relevant client-side code is: void
2020 Jan 11
2
Unresolved dependencies when upgrade on centOS 8
Hi, Guys i got unresolved dependencies when trying to upgrade centOS 8, what should i do to fix this? [root at ws1 ebedsat]# dnf upgrade Last metadata expiration check: 0:14:27 ago on Sat 11 Jan 2020 12:16:02 PM WIB. Error: Problem 1: cannot install the best update candidate for package kmod-iwlegacy-0.0-1.el8.elrepo.x86_64 - nothing provides kernel >= 4.18.0-147.el8 needed by
2016 Jan 14
2
Building SVN head with CMake - shared libraries?
Now that autoconf is going away soon, I figured I'd try building using CMake. I checked out llvm, cfe and lldb from the SVN server, and followed the basic build instructions. cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=/tools/llvm/svn_head -DLLVM_TARGETS_TO_BUILD="X86;CppBackend" -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON ../llvm Everything worked well, and in
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:
2016 Jan 14
4
Building SVN head with CMake - shared libraries?
Thanks - I'll try this tonight. Assuming it works, should these variables be added to the docs at http://llvm.org/docs/CMake.html ? On Wed, Jan 13, 2016 at 10:26 PM, Andrew Wilkins <axwalk at gmail.com> wrote: > > > On Thu, 14 Jan 2016 at 11:02 David Jones via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> Now that autoconf is going away soon, I
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 Apr 18
3
GVN pass limitation.
Hello, We are now facing a bug caused by the GVN pass, only part of the code was optimized. I have found that the problem is cause by an Limit in lib/Analysis/MemoryDependenceAnalysis.cpp 00055 static cl::opt<unsigned> BlockScanLimit( 00056 "memdep-block-scan-limit", cl::Hidden, cl::init(100), 00057 cl::desc("The number of instructions to scan in a block in