r176275 - Fix a problem where 'clang' is ambiguous in MSVC builds.
Manuel Klimek
klimek at google.com
Thu Feb 28 11:07:34 PST 2013
279>.\llvm\tools\clang\include\clang/AST/RecursiveASTVisitor.h(1715) :
error C2872: 'clang' : ambiguous symbol
279> could be 'clang'
279> or 'clang::ento::clang'
279>
.\llvm\tools\clang\include\clang/AST/RecursiveASTVisitor.h(1688) : while
compiling class template member function 'bool
clang::RecursiveASTVisitor<Derived>::TraverseFunctionHelper(clang::FunctionDecl
*)'
279> with
279> [
279> Derived=clang::ASTContext::ParentMapASTVisitor
279> ]
279>
.\llvm\tools\clang\include\clang/AST/RecursiveASTVisitor.h(1840) : while
compiling class template member function 'bool
clang::RecursiveASTVisitor<Derived>::TraverseGCCAsmStmt(clang::GCCAsmStmt
*)'
279> with
279> [
279> Derived=clang::ASTContext::ParentMapASTVisitor
279> ]
279> .\llvm\tools\clang\include\clang/AST/RecursiveASTVisitor.h(522)
: while compiling class template member function 'bool
clang::RecursiveASTVisitor<Derived>::TraverseStmt(clang::Stmt *)'
279> with
279> [
279> Derived=clang::ASTContext::ParentMapASTVisitor
279> ]
279> .\llvm\tools\clang\include\clang/AST/ASTContext.h(2202) : see
reference to class template instantiation
'clang::RecursiveASTVisitor<Derived>' being compiled
279> with
279> [
279> Derived=clang::ASTContext::ParentMapASTVisitor
279> ]
275> Creating library .\llvm\build\lib\Debug\clang-check.lib and object
.\llvm\build\lib\Debug\clang-check.exp
2
On Thu, Feb 28, 2013 at 8:06 PM, David Blaikie <dblaikie at gmail.com> wrote:
> On Thu, Feb 28, 2013 at 10:12 AM, Manuel Klimek <klimek at google.com> wrote:
> > Author: klimek
> > Date: Thu Feb 28 12:12:44 2013
> > New Revision: 176275
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=176275&view=rev
> > Log:
> > Fix a problem where 'clang' is ambiguous in MSVC builds.
>
> um... just out of curiosity what was the ambiguity?
>
> >
> > Modified:
> > cfe/trunk/include/clang/AST/RecursiveASTVisitor.h
> >
> > Modified: cfe/trunk/include/clang/AST/RecursiveASTVisitor.h
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/RecursiveASTVisitor.h?rev=176275&r1=176274&r2=176275&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/include/clang/AST/RecursiveASTVisitor.h (original)
> > +++ cfe/trunk/include/clang/AST/RecursiveASTVisitor.h Thu Feb 28
> 12:12:44 2013
> > @@ -1712,7 +1712,7 @@ bool RecursiveASTVisitor<Derived>::Trave
> > // FunctionNoProtoType or FunctionProtoType, or a typedef. This
> > // also covers the return type and the function parameters,
> > // including exception specifications.
> > - if (clang::TypeSourceInfo *TSI = D->getTypeSourceInfo()) {
> > + if (TypeSourceInfo *TSI = D->getTypeSourceInfo()) {
> > TRY_TO(TraverseTypeLoc(TSI->getTypeLoc()));
> > }
> >
> >
> >
> > _______________________________________________
> > cfe-commits mailing list
> > cfe-commits at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130228/488647db/attachment.html>
More information about the cfe-commits
mailing list