diff options
Diffstat (limited to 'clang/lib/AST/ByteCode/IntegralAP.h')
| -rw-r--r-- | clang/lib/AST/ByteCode/IntegralAP.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ByteCode/IntegralAP.h b/clang/lib/AST/ByteCode/IntegralAP.h index 6683db9..b11e6ee 100644 --- a/clang/lib/AST/ByteCode/IntegralAP.h +++ b/clang/lib/AST/ByteCode/IntegralAP.h @@ -63,7 +63,7 @@ public:      if (singleWord())        return APInt(BitWidth, Val, Signed);      unsigned NumWords = llvm::APInt::getNumWords(BitWidth); -    return llvm::APInt(BitWidth, NumWords, Memory); +    return llvm::APInt(BitWidth, llvm::ArrayRef(Memory, NumWords));    }  public:  | 
