summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorPiotr Padlewski <piotr.padlewski@gmail.com>2017-06-01 09:24:36 +0000
committerPiotr Padlewski <piotr.padlewski@gmail.com>2017-06-01 09:24:36 +0000
commit055477494b988e325462fba75602970b1b83287c (patch)
tree67de360bbfe18b9e27750e5964f8c3e1bbd09dfd /clang/lib/CodeGen/CodeGenModule.cpp
parent2eb0bcc9e6186fb95fcffc81f034923f954df9b9 (diff)
downloadbcm5719-llvm-055477494b988e325462fba75602970b1b83287c.tar.gz
bcm5719-llvm-055477494b988e325462fba75602970b1b83287c.zip
Fixed warnings
llvm-svn: 304397
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp4
1 files changed, 2 insertions, 2 deletions
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) &&
OpenPOWER on IntegriCloud