Qingrui Liu
2012-Mar-08 14:22 UTC
[LLVMdev] fix a "does not name a type" bug in VASTContext.h
Hi all, I find a bug in the VASTContext.h of the latest clang. I fixed it and commit a patch for it. As follows:>From 447d31176b513a03b253eb25ef314c2a3c0e428a Mon Sep 17 00:00:00 2001From: Tsingray <tsingray at buildbot-slave-desktop.(none)> Date: Thu, 8 Mar 2012 22:11:54 +0800 Subject: [PATCH] fix a 'does not name a type' bug in VASTContext.h --- include/clang/AST/ASTContext.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h index 3bdac2d..530f957 100644 --- a/include/clang/AST/ASTContext.h +++ b/include/clang/AST/ASTContext.h @@ -480,7 +480,7 @@ public: const FieldDecl *LastFD) const; // Access to the set of methods overridden by the given C++ method. - typedef CXXMethodVector::const_iterator overridden_cxx_method_iterator; + typedef CXXMethodVector::iterator overridden_cxx_method_iterator; overridden_cxx_method_iterator overridden_methods_begin(const CXXMethodDecl *Method) const; -- 1.7.0.4 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120308/7ee1a1f8/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-fix-a-does-not-name-a-type-bug-in-VASTContext.h.patch Type: application/octet-stream Size: 935 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120308/7ee1a1f8/attachment.obj>
Eli Friedman
2012-Mar-13 00:04 UTC
[LLVMdev] fix a "does not name a type" bug in VASTContext.h
On Thu, Mar 8, 2012 at 6:22 AM, Qingrui Liu <liuqingrui422 at gmail.com> wrote:> Hi all, > I find a bug in the VASTContext.h of the latest clang. I fixed it and > commit a patch for it. As follows: > > From 447d31176b513a03b253eb25ef314c2a3c0e428a Mon Sep 17 00:00:00 2001 > From: Tsingray <tsingray at buildbot-slave-desktop.(none)> > Date: Thu, 8 Mar 2012 22:11:54 +0800 > Subject: [PATCH] fix a 'does not name a type' bug in VASTContext.h > > --- > include/clang/AST/ASTContext.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h > index 3bdac2d..530f957 100644 > --- a/include/clang/AST/ASTContext.h > +++ b/include/clang/AST/ASTContext.h > @@ -480,7 +480,7 @@ public: > const FieldDecl *LastFD) const; > > // Access to the set of methods overridden by the given C++ method. > - typedef CXXMethodVector::const_iterator overridden_cxx_method_iterator; > + typedef CXXMethodVector::iterator overridden_cxx_method_iterator; > overridden_cxx_method_iterator > overridden_methods_begin(const CXXMethodDecl *Method) const;Can you "svn up" your llvm and clang sources and check if you are still having issues? -Eli
Possibly Parallel Threads
- [LLVMdev] constantexpr problem
- [LLVMdev] GSoC2012 proposal -- A new Back-end for polyhedral Optimization framework for LLVM (Polly)
- [LLVMdev] GSoC2012 proposal -- A new Back-end for polyhedral Optimization framework for LLVM (Polly)
- [LLVMdev] GSoC2012 proposal -- A new Back-end for polyhedral Optimization framework for LLVM (Polly)