diff options
author | Haojian Wu <hokein.wu@gmail.com> | 2019-12-09 17:07:52 +0100 |
---|---|---|
committer | Haojian Wu <hokein.wu@gmail.com> | 2019-12-09 17:09:07 +0100 |
commit | ff4dceef9201c5ae3924e92f6955977f243ac71d (patch) | |
tree | 4e29064272453677412e046049c29bc97a19a0ec /clang/lib/CodeGen | |
parent | 891f82222bb8436bfd8db0acfbd5f3621fa53425 (diff) | |
download | bcm5719-llvm-ff4dceef9201c5ae3924e92f6955977f243ac71d.tar.gz bcm5719-llvm-ff4dceef9201c5ae3924e92f6955977f243ac71d.zip |
Fix the compiler warnings: "-Winconsistent-missing-override", "-Wunused-variable"
for d97b3e3e65cd77a81b39732af84a1a4229e95091
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r-- | clang/lib/CodeGen/CGBuiltin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp index 94d10a1aedf..7b5d691d26c 100644 --- a/clang/lib/CodeGen/CGBuiltin.cpp +++ b/clang/lib/CodeGen/CGBuiltin.cpp @@ -6804,8 +6804,8 @@ Value *CodeGenFunction::EmitARMBuiltinExpr(unsigned BuiltinID, template<typename Integer> static Integer GetIntegerConstantValue(const Expr *E, ASTContext &Context) { llvm::APSInt IntVal; - bool IsConst = E->isIntegerConstantExpr(IntVal, Context); - assert(IsConst && "Sema should have checked this was a constant"); + assert(E->isIntegerConstantExpr(IntVal, Context) && + "Sema should have checked this was a constant"); return IntVal.getExtValue(); } |