search for: cxxconstructordecl

Displaying 5 results from an estimated 5 matches for "cxxconstructordecl".

2013 Sep 05
0
[LLVMdev] [ast-dump] Class template partial specializations missing from an implicit class template instantiation?
...t Inner definition | | |-TemplateArgument type 'int *' | | |-CXXRecordDecl 0x39174b0 prev 0x3917130 <col:25, col:32> struct Inner | | |-CXXMethodDecl 0x3917540 <col:43, col:51> f 'int (void)' | | | `-CompoundStmt 0x390f680 <col:50, col:51> | | |-CXXConstructorDecl 0x3917610 <col:32> Inner 'void (void)' inline noexcept-unevaluated 0x3917610 | | | `-CompoundStmt 0x3918370 <col:32> | | |-CXXConstructorDecl 0x3917770 <col:32> Inner 'void (const struct Outer<float>::Inner<int *> &)' inline noexcept-unevalu...
2012 Jul 10
2
[LLVMdev] Clang error compiling
...2550 clang::CodeGen::CodeGenTypes::arrangeFunctionType(clang::CanQual<clang::Type>, llvm::ArrayRef<clang::CanQual<clang::Type> >, clang::FunctionType::ExtInfo const&, clang::CodeGen::RequiredArgs) + 384 10 clang 0x0000000000783228 clang::CodeGen::CodeGenTypes::arrangeCXXConstructorDeclaration(clang::CXXConstructorDecl const*, clang::CXXCtorType) + 968 11 clang 0x0000000000785289 clang::CodeGen::CodeGenTypes::GetFunctionType(clang::GlobalDecl) + 9 12 clang 0x00000000007800df clang::CodeGen::CodeGenModule::TryEmitDefinitionAsAlias(clang::GlobalDecl, clang::Globa...
2013 Feb 06
1
[LLVMdev] Process the initializers of a C++ class properly
...}; classB :public A { float f; public: B(A& a) : A(a), f(3.14159) { } }; I wold like to get the initialization values for each member. In this example the values a and 3.14159 for the members A and f respectively. What I have done so far is this: I am using the method VisitCXXConstructorDecl and then getting the initalizers by means of iterator CXXConstructorDecl::init_iterator. I am able to get the members that are being initialized by means of getMember <http://clang.llvm.org/doxygen/classclang_1_1CXXCtorInitializer.html#a877f0bab49ff048f7e0faddf3f528977> () method for each...
2015 Jan 14
3
[LLVMdev] Crash on invalid during LLVMContext destruction MDNode::dropAllReferences
Hi Duncan, I came across something like the following recently which I guess might be related to your recent work. Any ideas? $ clang++-tot -cc1 crash_on_invalid.cpp -g -emit-obj -fexceptions -fcxx-exceptions crash_on_invalid.cpp:13:1: error: C++ requires a type specifier for all declarations x; ^ 1 error generated. *** Error in `clang++-tot': corrupted double-linked list: 0x000000000754f340
2015 Jan 14
2
[LLVMdev] Crash on invalid during LLVMContext destruction MDNode::dropAllReferences
...m.asan/staging/bin/clang+0x10278d224) > #12 0x10d6b18c7 in > clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl) > (/Users/dexonsmith/data/llvm.asan/staging/bin/clang+0x1027908c7) > #13 0x10d759319 in (anonymous > namespace)::ItaniumCXXABI::EmitCXXConstructors(clang::CXXConstructorDecl > const*) (/Users/dexonsmith/data/llvm.asan/staging/bin/clang+0x102838319) > #14 0x10d6b5d0a in > clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) > (/Users/dexonsmith/data/llvm.asan/staging/bin/clang+0x102794d0a) > #15 0x10d78fa0c in (anonymous > namespace)::...