From 055477494b988e325462fba75602970b1b83287c Mon Sep 17 00:00:00 2001 From: Piotr Padlewski Date: Thu, 1 Jun 2017 09:24:36 +0000 Subject: Fixed warnings llvm-svn: 304397 --- clang/lib/CodeGen/CodeGenModule.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/lib/CodeGen/CodeGenModule.cpp') diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index b7a3777fe45..c61a5f6ffa7 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -1393,8 +1393,8 @@ void CodeGenModule::EmitVTablesOpportunistically() { // is not allowed to create new references to things that need to be emitted // lazily. Note that it also uses fact that we eagerly emitting RTTI. - assert(OpportunisticVTables.empty() || shouldOpportunisticallyEmitVTables() && - "Only emit opportunistic vtables with optimizations"); + assert((OpportunisticVTables.empty() || shouldOpportunisticallyEmitVTables()) + && "Only emit opportunistic vtables with optimizations"); for (const CXXRecordDecl *RD : OpportunisticVTables) { assert(getVTables().isVTableExternal(RD) && -- cgit v1.2.3