Fix an API missues in ParseTypeFromDWARF
The arguments for ClangASTContext::CreateMemberPointerType was passed in in the wrong order. llvm-svn: 251319
This commit is contained in:
		
							parent
							
								
									145b0fd2a0
								
							
						
					
					
						commit
						c9eb2fcd7d
					
				| 
						 | 
				
			
			@ -1522,7 +1522,7 @@ DWARFASTParserClang::ParseTypeFromDWARF (const SymbolContext& sc,
 | 
			
		|||
                        CompilerType pointee_clang_type = pointee_type->GetForwardCompilerType ();
 | 
			
		||||
                        CompilerType class_clang_type = class_type->GetLayoutCompilerType ();
 | 
			
		||||
                        
 | 
			
		||||
                        clang_type = ClangASTContext::CreateMemberPointerType(pointee_clang_type, class_clang_type);
 | 
			
		||||
                        clang_type = ClangASTContext::CreateMemberPointerType(class_clang_type, pointee_clang_type);
 | 
			
		||||
                        
 | 
			
		||||
                        byte_size = clang_type.GetByteSize(nullptr);
 | 
			
		||||
                        
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue