aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-10 00:35:59 +0000
committerChris Lattner <sabre@nondot.org>2009-04-10 00:35:59 +0000
commitb75863d53b8a2bbf0ece8e6df2b6e5be7f3896c4 (patch)
treef13e3cc4af452dcb4f46dd55ec5d97c4c6e17de0 /lib/CodeGen/CodeGenFunction.cpp
parentb725232b46e92f3e36b03a32a6fc75748c312122 (diff)
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
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--lib/CodeGen/CodeGenFunction.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp
index 5b63e6594d..b9a803286c 100644
--- a/lib/CodeGen/CodeGenFunction.cpp
+++ b/lib/CodeGen/CodeGenFunction.cpp
@@ -231,11 +231,10 @@ void CodeGenFunction::GenerateCode(const FunctionDecl *FD,
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)