similar to: [cfe-dev] GSoC AST->XML project still open?

Displaying 20 results from an estimated 1000 matches similar to: "[cfe-dev] GSoC AST->XML project still open?"

2015 Apr 23
2
[LLVMdev] Get precise line/column debug info from LLVM IR
I am trying to locate instructions in an LLVM Pass by line and column number (reported by an third-party tool) to instrument them. To achieve this, I am compiling my source files with `clang -g -O0 -emit-llvm` and looking for the information in the metadata using this code: const DebugLoc &location = instruction->getDebugLoc(); // location.getLine() // location.getCol()
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:
2019 Jun 09
2
Strange local variable cv::VideoCapture allocated
Hi I am using clang-6 to compile this C++ code and I see a strange temporary variable allocated at expression address 0x7ff1131536e8. If I change the ternary operator at line 483 to an if-else, the temporary is not allocated. Thanks Variables: ========= FFMPEGVideoCapture ffmpeg_video_capture_; cv::VideoCapture opencv_video_capture_; Function: ======== bool
2012 Feb 21
0
[LLVMdev] buildbot failure in LLVM on clang-x86_64-debian-fnt
On Tue, Feb 21, 2012 at 2:51 AM, Jay Foad <jay.foad at gmail.com> wrote: > All, > > This buildbot is getting lots of assertion failures in the test suite. > They were probably caused by my commit: > > ------------------------------------------------------------------------ > r151049 | foad | 2012-02-21 09:25:52 +0000 (Tue, 21 Feb 2012) | 6 lines > Changed paths: >
2012 Feb 21
5
[LLVMdev] buildbot failure in LLVM on clang-x86_64-debian-fnt
All, This buildbot is getting lots of assertion failures in the test suite. They were probably caused by my commit: ------------------------------------------------------------------------ r151049 | foad | 2012-02-21 09:25:52 +0000 (Tue, 21 Feb 2012) | 6 lines Changed paths: M /llvm/trunk/lib/VMCore/LLVMContextImpl.h M /llvm/trunk/lib/VMCore/Type.cpp PR1210: make uniquing of struct and
2016 Nov 28
2
Looking for help with an ast matcher
Hi Piotr, Thanks. Yeah, it seemed a little weird, but it was what got me closest. I found out that the matcher I supplied here was working for clang-query 3.8.1. I'm working on a clang-tidy module for 4.0.0 - it's not working there. Could you elaborate on the "onImplicitObjectArgument"? There is no document on it on the clang page. So I wouldn't know how it works or what it
2016 Nov 28
2
Looking for help with an ast matcher
Hi Piotr, I think I found a working matcher: match ifStmt(hasCondition(implicitCastExpr(hasImplicitDestinationType(isInteger()), has(cxxMemberCallExpr(callee(cxxMethodDecl(hasName("compare"))), hasArgument(0, declRefExpr().bind("str2")), callee(memberExpr(has(declRefExpr().bind("str1"))))))))).bind("case1") This one bind to both str1 and str2 in
2013 Sep 05
0
[LLVMdev] [ast-dump] Class template partial specializations missing from an implicit class template instantiation?
I was looking at the ClassTemplatePartialSpecializationDecl::getInstantiatedFromMember documentation, in the included example it says: "(..) the instantiation of Outer<float>::Inner<int*> will end up instantiating the partial specialization Outer<float>::Inner<U*> (...)". To understand the concept better, I dumped the AST for the following code:
2016 Apr 14
2
Little explanation of this behaviour
I tried to emit IR for a function that returns the sum between an signed char and a double in C++, just to see how Clang handles type implicit casting. Can you explain me why Clang converted the char type into a 32-bit integer type before casting it to a floating point? Can a sitofp i8 %3 to double be done or is it wrong? define i32 @_Z5sumad(i8 signext %x, double %y) #0 { %1 = alloca i8,
2012 Apr 23
0
[LLVMdev] gdb + clang/llvm
On Apr 23, 2012, at 2:14 PM, Roland Leißa <leissa at cs.uni-saarland.de> wrote: >>> ok, I now have a problem in the code generator. >>> Let's say I want to set a breakpoint somewhere in >>> clang/lib/CodeGen/CGExprScalar.cpp >>> >>> What do I have to do in order to trigger breakpoints, see >>> backtraces and so on? >>
2008 Dec 18
0
[LLVMdev] Troubles with clang and llvm libraries and simple Xcode project
Hi, I'm having a hard time linking the LLVM/clang libraries in Xcode. I've been fighting this for a couple of days now, and decided to make a fresh checkout and a super-simple demo project to try and isolate the problem, but even so I'm getting undefined symbol errors in the linker for the static libraries LLVM is producing. This is really baffling, so probably I'm
2012 Apr 23
1
[LLVMdev] gdb + clang/llvm
Hi Jim, thanks for replying. As mentioned in my earlier mail, I have to specify -emit-obj along with -cc1 in order to trigger codegen. This solves the problem for me. As I learned from the last email, specifying -v is a good starting point in order to see what actually is happening and tackle such problems. -- Roland ----- Original Message ----- > From: "Jim Grosbach"
2012 Apr 23
4
[LLVMdev] gdb + clang/llvm
> > ok, I now have a problem in the code generator. > > Let's say I want to set a breakpoint somewhere in > > clang/lib/CodeGen/CGExprScalar.cpp > > > > What do I have to do in order to trigger breakpoints, see > > backtraces and so on? > > You set a breakpoint and ask to see a backtrace? > > -eric haha, OK, I think I should be more specific.
2013 Jan 23
0
[LLVMdev] Build Error while building AST lib. (DeclTemplate.h)
Hi All, I am facing a build issue while compiling llvm,clang on xlc 12.1 on AIX 7. In this case, template specialization code is not getting called. The code compiles fine if i remove the template specialization code [ 694-702 ] but fails later on. Please advise. 492 /// Declaration of a redeclarable template. 493 class RedeclarableTemplateDecl : public TemplateDecl, 494
2006 Sep 06
0
soapenc:base64 and xsd:base64Binary
Hello guys, I have a little mix in all those webservices and wsdl files and all this things, and I have maybe a strange question. I''m trying to consume webservice from different webservice implementation than ror. And I there is one thing from ror regenerated wsdl file. Method parameter defined by :base64 type is defined in wsdl as ''soapenc:base64''. My question is, why
2006 Jan 22
0
ActionWebService::Struct --> minOccurs?
Howdy, In extending ActionWebService::Struct and naming members, is it possible to indicate them as optional (yielding minOccurs="0" in the wsdl)? For example, suppose I want to create a request object that can either work via a number id or a string name (think of it as a union). class Identifier < ActionWebService::Struct member :id, :int member :name, :string end
2007 Nov 12
1
Microsoft SOAP - Help!!
Hello, I am trying to access Microsoft Live Search Using SOAP through R. In R I am using the RCurl packages to make the calls. I have the following situation that looks crazy and cannot figure out how to solve it: #SOAP Request library(RCurl) h = basicTextGatherer() body='<?xml version="1.0" encoding="ISO-8859-15"?> <SOAP-ENV:Envelope
2009 Feb 12
0
Bad File Descriptor | Permission Denied
Hello everyone! I'm having strange errors backuping with rsync. I backup over a samba share mounted using mount_smbfs on freebsd. The first backup is no problem, no errors just all data transferred (Speedup 1.00). The second backup seems more problematic here is the error: rsync: failed to set times on "/mnt/nas/Mercredi/data": Bad file descriptor (9) rsync: failed to set
2019 Jun 21
1
Instable graphics with GeForce GT 730M, especially on external monitor
2006 Aug 01
1
xmlattr use .net web service from ruby problem
I have a WSDL and used to wsdl2ruby to create the default.rb and defaultdriver.rb ****************************************************************** the method that i''m calling class representation is: # {http://home.setup/abs}DeliverMessage class DeliverMessage @@schema_type = "DeliverMessage" @@schema_ns = "http://home.setup/abs" @@schema_qualified =