reject codegen of __thread variables as unimplemented, rdar://6775265
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68755 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp
index 5b63e65..b9a8032 100644
--- a/lib/CodeGen/CodeGenFunction.cpp
+++ b/lib/CodeGen/CodeGenFunction.cpp
@@ -231,11 +231,10 @@
EmitStmt(FD->getBody());
const CompoundStmt *S = dyn_cast<CompoundStmt>(FD->getBody());
- if (S) {
+ if (S)
FinishFunction(S->getRBracLoc());
- } else {
+ else
FinishFunction();
- }
// Destroy the 'this' declaration.
if (CXXThisDecl)