diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-08-02 21:45:39 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-08-02 21:45:39 +0000 |
commit | af19a6aaa2959ef5e76f19d51e87ef523bdeedde (patch) | |
tree | 66274ab4dd32bf0664bccde910a2a411cb9bd13b /lib/AST/CommentSema.cpp | |
parent | d6261a96cd470c148c474c8ebeacabc40e0ebb37 (diff) |
Comments AST: refactor DeclInfo to use an enum for decl kind instead of
separate flags.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161217 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/CommentSema.cpp')
-rw-r--r-- | lib/AST/CommentSema.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/CommentSema.cpp b/lib/AST/CommentSema.cpp index cedc72a988..cbfbc4eb24 100644 --- a/lib/AST/CommentSema.cpp +++ b/lib/AST/CommentSema.cpp @@ -477,7 +477,7 @@ bool Sema::isFunctionDecl() { return false; if (!ThisDeclInfo->IsFilled) inspectThisDecl(); - return ThisDeclInfo->IsFunctionDecl; + return ThisDeclInfo->getKind() == DeclInfo::FunctionKind; } bool Sema::isTemplateDecl() { |