diff options
author | Steve Naroff <snaroff@apple.com> | 2008-08-10 15:28:06 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2008-08-10 15:28:06 +0000 |
commit | d4d46cd61673202d6c32c51a8bc0abc937bff808 (patch) | |
tree | 5abe1141a067cc25de5b3309d0b6eb1513008efe /lib/Sema/SemaDecl.cpp | |
parent | f855e6fbebb718a1cca75ec2efba12f3583fe614 (diff) |
Cleanup from yesterday...make isTentativeDefinition() a static helper function (no need for it to be part of the Sema API).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54613 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r-- | lib/Sema/SemaDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index df4add2ea3..580c949ddd 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -379,7 +379,7 @@ Sema::MergeFunctionDecl(FunctionDecl *New, Decl *OldD, bool &Redeclaration) { } /// Predicate for C "tentative" external object definitions (C99 6.9.2). -bool Sema::isTentativeDefinition(VarDecl *VD) { +static bool isTentativeDefinition(VarDecl *VD) { if (VD->isFileVarDecl()) return (!VD->getInit() && (VD->getStorageClass() == VarDecl::None || |