[clang] 3a5617c - Fix build error
    Akira Hatanaka via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Fri Jul 10 17:42:26 PDT 2020
    
    
  
Author: Akira Hatanaka
Date: 2020-07-10T17:40:37-07:00
New Revision: 3a5617c02e38618bd5534491077afbc7178adf3f
URL: https://github.com/llvm/llvm-project/commit/3a5617c02e38618bd5534491077afbc7178adf3f
DIFF: https://github.com/llvm/llvm-project/commit/3a5617c02e38618bd5534491077afbc7178adf3f.diff
LOG: Fix build error
Added: 
    
Modified: 
    clang/lib/CodeGen/CGCXXABI.cpp
Removed: 
    
################################################################################
diff  --git a/clang/lib/CodeGen/CGCXXABI.cpp b/clang/lib/CodeGen/CGCXXABI.cpp
index 3d65c0ea805e..65327a2435b5 100644
--- a/clang/lib/CodeGen/CGCXXABI.cpp
+++ b/clang/lib/CodeGen/CGCXXABI.cpp
@@ -156,7 +156,8 @@ void CGCXXABI::setCXXABIThisValue(CodeGenFunction &CGF, llvm::Value *ThisPtr) {
 
 void CGCXXABI::EmitReturnFromThunk(CodeGenFunction &CGF,
                                    RValue RV, QualType ResultType) {
-  assert(!hasAggregateEvaluationKind(ResultType) && "cannot handle aggregates");
+  assert(!CGF.hasAggregateEvaluationKind(ResultType) &&
+         "cannot handle aggregates");
   CGF.EmitReturnOfRValue(RV, ResultType);
 }
 
        
    
    
More information about the cfe-commits
mailing list