diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2014-03-07 13:13:38 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2014-03-07 13:13:38 +0000 |
commit | 7dce1a840cedee83c5f62dcb93b9a65b56823213 (patch) | |
tree | 115c345ebe81b68e3b6ce11c269b397720d5d187 /clang/lib/AST/ASTDumper.cpp | |
parent | 690829696ca4c73a8cb1688761e9b1152a7d2254 (diff) | |
download | bcm5719-llvm-7dce1a840cedee83c5f62dcb93b9a65b56823213.tar.gz bcm5719-llvm-7dce1a840cedee83c5f62dcb93b9a65b56823213.zip |
Fully reverting r203236 -- it seems the only bots that are happy are the MSVC bots.
llvm-svn: 203237
Diffstat (limited to 'clang/lib/AST/ASTDumper.cpp')
-rw-r--r-- | clang/lib/AST/ASTDumper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ASTDumper.cpp b/clang/lib/AST/ASTDumper.cpp index 810560d57fb..42edf5bb94d 100644 --- a/clang/lib/AST/ASTDumper.cpp +++ b/clang/lib/AST/ASTDumper.cpp @@ -762,7 +762,7 @@ void ASTDumper::dumpDecl(const Decl *D) { if (ND->isHidden()) OS << " hidden"; - bool HasAttrs = D->hasAttrs(); + bool HasAttrs = D->attr_begin() != D->attr_end(); const FullComment *Comment = D->getASTContext().getLocalCommentForDeclUncached(D); // Decls within functions are visited by the body |