[cfe-users] trying to distcc compile for os x on ubuntu, but getting errors on __builtin_ia32_undef128 and objc_bridge

2016-05-05 Thread Zac Hansen via cfe-users
I'm using distcc from my mac laptop to an ubuntu desktop. I installed clang on ubuntu by running "sudo apt-get install clang". Initially I was also getting an error about "blocks". I don't really know what that means, but adding -fblocks fixed it. However, I'm still getting the two following

[cfe-users] How to associate metadata with a class that can be picked up in an AST parser?

2016-06-27 Thread Zac Hansen via cfe-users
I was hoping to be able to use custom attributes in my source code and be able to see them in the AST, but even though there are some mentions on the internet saying this can work, it doesn't seem to. If I say class [[random_attribute]] Foo {}; I see nothing in -ast-dump, but if I change it to [

[cfe-users] two copies of class with dependent base - one is "unusable"

2016-07-20 Thread Zac Hansen via cfe-users
if I have something like template class V8TOOLKIT_WRAPPED_CLASS MyTemplate {}; template class V8TOOLKIT_WRAPPED_CLASS DerivedFromMyTemplate : public MyTemplate {}; and then DerivedFromMyTemplate some_var; I get two CXXRecordDecl's from my matcher which just matches all classes and structs -- on

[cfe-users] parsing ParamCommandComment and getting trailing newline and * for next ParamCommandComment

2016-09-07 Thread Zac Hansen via cfe-users
While going through the child comments of a fullcomment, specifically the ParamCommandComment, when I try to get the description of the param, I'm getting the trailing newline and * for the next line /** * This is some function * @param some_param this is what it does * @param some_other_param ...

Re: [cfe-users] libclang: Spelling on typedefs lacks namespaces

2016-09-27 Thread Zac Hansen via cfe-users
While it generates some ugly code I found it easier to simply use the canonical names for all types. I spent tens of hours fighting this and never found a good way. On Tuesday, September 27, 2016, Michael via cfe-users < cfe-users@lists.llvm.org> wrote: > Nobody? Wrong list? Any insight in this