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 | 37a7fafd44fc9490581f999c498c91544d0e81cf (patch) | |
tree | 485e1d952c036b3bf9755a8e5830715c44da908a /clang/lib/AST/CommentSema.cpp | |
parent | 637ecd20985397714de8fe49ac81f97a96f123f7 (diff) | |
download | bcm5719-llvm-37a7fafd44fc9490581f999c498c91544d0e81cf.tar.gz bcm5719-llvm-37a7fafd44fc9490581f999c498c91544d0e81cf.zip |
Comments AST: refactor DeclInfo to use an enum for decl kind instead of
separate flags.
llvm-svn: 161217
Diffstat (limited to 'clang/lib/AST/CommentSema.cpp')
-rw-r--r-- | clang/lib/AST/CommentSema.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/CommentSema.cpp b/clang/lib/AST/CommentSema.cpp index cedc72a988c..cbfbc4eb24d 100644 --- a/clang/lib/AST/CommentSema.cpp +++ b/clang/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() { |